Walter
|
| Posted: 06/28/2002, 8:25 PM |
|
I am looking for a solution to format the calculated numbers on my search results page to to decimal places. Any help would be appreciated.
Currently using ASP with templates.
|
|
|
 |
Nicole
|
| Posted: 06/29/2002, 3:40 AM |
|
Walter,
use FormatNumber function to display the desired number of decimals.
- in CC create form Before Show event
fldfield_name = FormatNumber(fldfield_name, 2)
- in CCS create Before Show Row event
form_name.fiel_name.Value = FormatNumber(form_name.fiel_name.Value, 2)
Refer to MSDN article for more information about FormatNumber() function: http://msdn.microsoft.com/library/default.asp?url=/libr...ormatNumber.asp
|
|
|
 |
|