number_format - Changes the format of a number as a regional number string
number_format(number,lg,dot,separator,iffloat,fr)
Note: In the followings examples, the _ between the { should be removed to make it work.
in: res={_{number_format(1234567.3,"en")}}. out: res=1,234,567.30. in: res={_{number_format(1234567.345,"fr")}}. out: res=1 234 567,35. a = 1899.8; number_format(a,"fr",","," ", true, 1);//return 1 899,8 number_format(a,"en",".",",", true, 1);//return 1,899.8
{{ include("includes/strings.sn") }}
Written by Pusnei Sergey and Caroline Laplante, <sergey@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.