on 09-28-2009 11:37 AM
Hi veryone,
we upgraded from SPS17 to SPS18 and since this we have the problem that the output is
223,342,342.2 instead of
223,342,342.20.
The format ist numeric local and did not changed.
any ideas ?
thanks
thomas
Hi
Try using NSTR function & then give required format.
Regards
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sandepp is right.
just to elaborate his answer, you need to use the NSTR function with a ".XXX" parameter
e.g.
NSTR(@FIELD_NAME, ".3") for 3 decimal digits after the seperator
or NSTR(@FIELD_NAME, "C.3") for 3 decimal digits after the seperator, and a comma seperator.
there were indeed bugs fixes in the field of Numeric formatting, so this could suggest why the behavior is different.
Yes.
if you wish to use both Locale (German) and formatting - i.e. with thosand seperator (which is in this case a "." and 4 digits after the decimal seperator (which is "," in this case)
you will use
NSTR(@NumberField, "C.3L")
C = thosand seperated
.3 = 3 digits after the decimal seperator
and most importantly
L = LOCALED
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.