Are there string parsing functions in Daml?
- georgOP
Are there any functions in Daml to go from
Text→Optional Decimalfor example? If not, is there maybe Haskell code I could use (ie. copy)? - Luciano 1
You want
DA.Text. In your caseparseDecimaldoes what you want. (Remember you can also use the search function in the docs using type signatures. Search forText -> Optional Decimalshould find this for you!) - georg
Ah right - I was searching for
Text -> Decimaland nothing came up. Makes sense, thanks!