Don't display thousand separator

Ascent Capture Internet Server

Don't display thousand separator

Postby jebwhs87 » Sat Aug 07, 2010 7:15 am

I have a field that the requirements are 9 digits numeric and do not display the thousand separator. If I choose a Numeric field type 9.0 it displays the thousand separator. What would be the best way to do this?
Posts: 8
Joined: Tue Jul 25, 2006 11:39 am

Re: Don't display thousand separator

Postby aadslingerland » Sat Aug 07, 2010 10:33 am

jebwhs87 wrote:What would be the best way to do this?

First of all I assume that you talk about the presentation of numeric fields in the validation module. If not please let us know...

One way to adjust the presentation of numeric values is to use SBL scripting and have a look at the function Fmt<indexfieldname>. This format function uses a piece of code like:

Code: Select all
FormattedValue = KfxNumeric
if (KfxFormatDecimal (FormattedValue, Precision, Scale) <> 0) then
   goto Failure
end if
FmtNumeric = FormattedValue

The function KfxFormatDecimal does the formatting of your number. Just comment out that section of the code, compile the script, publish the batch class and check the result.
With Regards, Aad Slingerland
User avatar
Posts: 299
Joined: Tue Sep 22, 2009 12:23 am

Return to Network Server General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest