Search found 3 matches

by Ron
16 Jan 2018 09:51
Forum: DOS Batch Forum
Topic: Script for large integer and floating-point arithmetic and comparison using macros (updated to v1.1)
Replies: 3
Views: 4519

Re: Script for large integer and floating-point arithmetic and comparison using macros

Encapsulate the macro with percent signs as follows %@addi% 3 5 %@addf% 31.881 52.38 res (saves result to variable 'res') %@multf% 82.7 24.556 %@compi% 594 LSS 3345 These and everything shown in arithmetic_examples.bat can be done in CMD and in a script file. Normally you would have to call the file...
by Ron
12 Jan 2018 11:54
Forum: DOS Batch Forum
Topic: Script for large integer and floating-point arithmetic and comparison using macros (updated to v1.1)
Replies: 3
Views: 4519

Script for large integer and floating-point arithmetic and comparison using macros (updated to v1.1)

Hey everyone, I just wanted to share my script which aims to enhance arithmetic operations in batch without the use of VBscript. With this, you can do all the standard arithmetic math but with larger integers and floating-point numbers. It also takes care of evaluating all inputs, contains enhanced ...