05-18-2006 3:04 PM
Hi,
I'd like to display a float like:
111.222.333,44
using the '.' as a thousand separator.
My fieldcat:
fieldcat_det-decimals_o = 2.
fieldcat_det-datatype = 'FLTP'.
fieldcat_det-exponent = 0.
But the result is 111222333,44.
Can you help?
Thanks in advance.
Best Regards,
Maria João Rocha
05-18-2006 3:10 PM
Hi Maria,
There is no such option for displaying.
You can try like this : In the internal table, declare that field as a string, since its only for displaying. You can push the value into the string.
If found useful, award points pls.
Regards,
Bharadwaj
05-18-2006 3:13 PM
you can use field 'edit_mask' of field catalog in order to change appearance of your values
05-18-2006 3:19 PM
Thanks,
B raju - I can't user strig, because the field is a sum field!
François Henrotte - Can you please tell me how? I've tried to use that option (edit mask) but with no success
Best Regards,
Maria João Rocha
05-18-2006 4:14 PM
see documentation of WRITE statement, option USING EDIT MASK to see which is the syntax
05-18-2006 3:24 PM
hi
u can try this fm
<b>PP_CATT_CONVERT_DECIMAL_POINT</b>
and also <b>check ur default decimal settings</b>