Link to home
Start Free TrialLog in
Avatar of Rajat Sehgal
Rajat SehgalFlag for India

asked on

How to print Numbers to Words from batch file

Hello Experts,

Using this batch how to print %sum1% in words along with numbers

@echo off
:Loop
echo Enter a number:
set /p num1=  
set /a sum1="num1 * 100000"
echo The total is %sum1%
goto :Loop
Avatar of rastoi
rastoi
Flag of Slovakia image

looking on your question, only one word comes to my mind: WHY ?
who might need this in batch nowadays?  But, probably someone here will have something like that saved.
Last time I was solving something similar, my batch was calling external vbs to do this :-)
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial