Why would FormatNumber(1,2,0,0,0) return 1,00 instead of 1.00 ?
All docs I've found on the web suggest it should return 1.00
Thanks in advance
>Hi
>
>Why would FormatNumber(1,2,0,0,0) return 1,00 instead of 1.00 ?
Check the "Regional and Language Options" control panel applet on the
server, that's what controls this. Europeans use a comma to separate
the fraction from the integer, the US uses a period. You probably want
to set the region to "English, United States".
--
Tim Slattery
Slatt...@bls.gov
http://members.cox.net/slatteryt
Thanks for the reply
I have asked for this to be checked
The odd thing is though all three of these return the same result
Response.Write FormatNumber(1,2,-2,-2,-2)
Response.Write FormatNumber(1,2,-1,-1,-1)
Response.Write FormatNumber(1,2,0,0,0)
I would have thought 0 should mean the regional settings are ignored ?
Thanks
"Tim Slattery" <Slatt...@bls.gov> wrote in message
news:u44ih55mtnojbrtuo...@4ax.com...
--
HTH,
Bob Barrows
--
HTH,
Bob Barrows