[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] FormatNumber not behaving correctly (syntax wrong??)



Hi all,

I have the below ASP code trying to pull the value '0.5000' (that is the
actual value stored in my Interbase db, field is a numeric with a scale
of 4). Running on a RAQ4R. I have tried many combinations of the below
code, but cannot get the number on my resulting ASP page to display as
the actual value '0.5000'. It keeps showing as '5000.0000' or
'5,000.0000 etc. Any ideas??

<%= FormatNumber((rsProductDetails.Fields.Item("WEIGHT").Value), 4, -1,
0, 0) %>

 
regards,
 
Todd Kirk