problem with decimal format.

Posted by black_belt on 19-Jan-2011 09:53

hello.

progress 9.
Creating a report.
From. p bring, for example i have -,16 but in the rpt appears 0,16.

regards.

[View:~/cfs-file.ashx/__key/communityserver-discussions-components-files/27/prrinsalep.p.zip:550:0]

All Replies

Posted by black_belt on 19-Jan-2011 11:20

problem in "sil_nett_amount"

Posted by black_belt on 19-Jan-2011 11:53

This problem is only between -0,01 and -0,99.

no problem with > -1

excuse my English

regards

Posted by kevin_saunders on 20-Jan-2011 04:41

Is there a reason your format does not accept negatives? Try changing it from "">>>>>>9.99" to "->>>>>>9.99".

Posted by rogeliolt on 30-Mar-2011 17:50

maybe you can say in the variables.

DEFINE VARIABLE gdSalesInvoiceObj        AS DECIMAL FORMAT "->>>>9.99" no undo.

You say that variable is type decimal, an accept positives/negatives numbers.

This thread is closed