2020 Apr 19 1:06 PM
Hi Every One
How Convert " 325426667.0000 " to " 325,426,667 "
2020 Apr 19 1:13 PM
Try declaring a variable with type currency and assign your value to it. It will be converted to the desired format.
hi teshan
Thanks for the reply
can you give an example ?
2020 Apr 19 1:13 PM
Try declaring a variable with type currency and assign your value to it. It will be converted to the desired format.
2020 Apr 19 1:40 PM
2020 Apr 19 6:08 PM
Hello,
Data: lv_converted_value type dzwert, " type currency
lv_unconverted_value type string.
lv_uncoverted_value = '325426667.0000'.
" Assign unconverted value
lv_converted_value = lv_unconverted_value.
" Using ABAP 7.4
data(lv_unconverted_value) = CONV dzwert( lv_unconverted_value ).
2020 Apr 19 1:40 PM
2020 Apr 19 5:52 PM
Hi Sina
You can use following way

You may use your currency accordingly.
This will convert the value as above.
Regards,
Venkat
2020 Apr 19 7:13 PM
Please note that this is american number format. If you are logged in with e.g. a user with german locale the result would be "325.426.667,00". If the exact format is desired you temporarily need to witch user locale before.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |