Rajendran_
New Member
Hello,
I have a piece of code which has decimal value with 4 whole-number and 5 decimal value (5608.90585). When I display this decimal value, its displayed as 5,608.9059. But I want to display it as 5608.90585. It might be a silly question but I couldn't find anything to increase it's limit.
Please note that I don't want to change my decimal format. It has to be "->,>>>,>>9.9<<<<<<<<" and I want the value to be displayed as is - 5608.90585.
upon running this code, I get a prompt like below.
┌─────────────────┐
│Qty: 5,608.9059 │
└─────────────────┘
But I want the prompt like
┌─────────────────┐
│Qty: 5,608.90585 │
└─────────────────┘
I have a piece of code which has decimal value with 4 whole-number and 5 decimal value (5608.90585). When I display this decimal value, its displayed as 5,608.9059. But I want to display it as 5608.90585. It might be a silly question but I couldn't find anything to increase it's limit.
Please note that I don't want to change my decimal format. It has to be "->,>>>,>>9.9<<<<<<<<" and I want the value to be displayed as is - 5608.90585.
Code:
define variable dcQty as decimal format "->,>>>,>>9.9<<<<<<<<" Label "Qty" no-undo .
dcQty = 5608.90585 .
repeat :
if dcQty = 0 then leave .
display dcQty with frame a .
update dcQty with frame a side-labels .
end.
upon running this code, I get a prompt like below.
┌─────────────────┐
│Qty: 5,608.9059 │
└─────────────────┘
But I want the prompt like
┌─────────────────┐
│Qty: 5,608.90585 │
└─────────────────┘