2004 Apr 12 6:15 PM
Is there a way in Version 3.1 of having a field of type Quan with 4 places after the decimal. The default is 3 places on the system I am using. Field length of 13.
Thanks to anyone that can help me out with this.
2004 Apr 17 8:26 AM
Try moving the Qaun. field data to another field which is declared as of type P with decimals 4.
Hope this works for you..
2004 May 13 2:37 PM
I am outputting a quantity field, but I am having trouble using decimals in conjuction with unit.
I would like two decimal places, so I output the field:
write:/ t_data-hours DECIMALS 2.
However I receive a syntax warning, telling me to use UNIT. I am having trouble using both UNIT and DECIMALS together.
Please advise.
2004 May 13 3:53 PM
There's nothing essentially wrong with using the DECIMALS option, if you are confident that the values in your report are of the same or similar unit. The use of UNIT is more generic, the number of decimal places will be dictated by the settings in table T006. For example unit 'Each' would be displayed with no decimal places (as a whole number), Kg might be displayed with 2.
This is why you cannot use UNIT and DECIMALS together; UNIT will take the number of decimals from T006 to then specify a number of decimals would contradict this.
If the unit that most of your data is stored as displays 2 d.p.s you could use UNIT, or just ignore the warning and use DECIMALS.
Nick