Search found 1 match

by gari
27 Mar 2014 13:01
Forum: DOS Batch Forum
Topic: how to Multiply a decimal value with -1 in batch
Replies: 3
Views: 1979

how to Multiply a decimal value with -1 in batch

Hi I am having a tab delimited file col1 col2 col3 col4 123 677 778 89.9999 222 677 778 989.999 223 777 778 989.999 when col2 first number equal to 6 ,then i have to multiply col4 with -1 (ie col4 * -1). Please help me to write the batchscript. I wrote the scrit its truncating the values. Thanks Gari