I have two variables that I want to subtract:
ECHO echo setvar _slsnet (!_slsgross - !_gc2) !>!> vtmp1 >> tmp1
echo :run main.pub.vesoft;STDIN=vtmp1 >> tmp1
echo %exit >> tmp1
Now, I have a var that looks like this:
_SLSNET = 16916.310547
and I want it to just read 16916.31 (truncate, or round).
Chris Bartram has helped me previously and 'suspects the rounding problem is
do to MPEX's use of IEEE floating point for calculations...'
Ideas?
- Anthony
--
Anthony Ballo
Business Analyst
Coldwater Creek Inc.
Voice 208-265-7358 ~ Fax 208-265-7055
Pager 208-444-8401 ~ Cell 208-610-0118
Page via email mailto:[log in to unmask]
Send page via internet:
http://www.mobile.att.net/mc/personal/pager_show.cgihttp://www.coldwatercreek.com
<<Anthony Ballo.vcf>>