Hi,
I've created a template that displays a big amount of money (> 1.000.000.000). Unfortunately the formatter doesn't seem to handle big numbers from an input variable.
Am I doing something wrong, or is this a bug? Thanks for your help!
Best regards,
Harry van Mierloo
I've created a template that displays a big amount of money (> 1.000.000.000). Unfortunately the formatter doesn't seem to handle big numbers from an input variable.
// transactionAmount = 1000000000 and is stored in the field of a model
// In the template definition I see this unexpected result:
#: kendo.toString(get("transactionAmount"), "c") # // result: 1000000000
// Smaller or hard-coded amounts work fine:
#: kendo.toString(get("transactionAmount")/1000, "c") # // result: € 1.000.000,00
#: kendo.toString(1000000000, "c") # // result: € 1.000.000.000,00
Best regards,
Harry van Mierloo