on 12-16-2015 1:31 AM
Hi experts,
I created a stored procedure with a quantity field. decimal(19,2) datatype.
When i populate it on Grid using DI the value has decimal places and commas. so how do i remove the decimal places? the value must have comma's so i just want to remove decimal places only.
Thanks.
Hi Weynard,
The only way you can do is to format your result as NVARCHAR.
Calculation decimal places is controlled by SBO and defined in
Administration-System Initialization-General Setting-Display Tab-Decimals in Query.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edy,
Don't mind the HANA DB.. lets focus on Grid using DI..
I have a column Quantity. the values are,
500.00
1,200.00
10,300.00
173,500.00
What i want is to remove the decimal places using DI API. is there any way to format this values like this?the values should have comma's.
500.00
1,200
10,300
173,500
Thanks.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.