Hi
I have been using the Velocity reports extensively on a financial product as a consequence the number format should be £1,000.00. I am using the following in the template
$number.format($currency,$myfield)
context.currency = ‘¤#,###.00’
What is peculiar about this is some fields format correctly and others truncate.
eg.
7700 = £7,700.00
8147.34 = £8 //if the formatting is removed it is OK and reverts to 8147.34
What I do not see is why this should not still work on the basis:
¤ = currency
, = splitter
. = decimal
I have tried changing the default float fields to Decimals but it is still throwing up this error, ideas as to why would be very gratefully received
Gordon