![Quote](images/misc/quote_icon.png)
Originally Posted by
mcode
The Format command only formats and doesn't change the the value. at the beginning of the code
you will see a list of format definitions that are numbered:
#1 = '#.00'
#2 = '####0.0##'
#3 = '*####0.0##'
#4 = '###0.0###'
#5 = '#######0'
#6 = '###0.0'
#7 = '##0.0#'
#8 = '###0.0########'
Place the format definition at the bottom of that list and give it the next available number, in the example list
above it would be #9 = '####.0;0.'
then when you want to use the FORMAT command it would be FORMAT(ZStockDelta#,9)
you can use definition #5 in the list above for no decimal.