中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-11 11:50
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Original] Multiplication between two numbers in the same base within decimal, with no digit limit
Printable Version  1,322 / 3
Floor1 523066680 Posted 2009-02-21 15:22
银牌会员 Posts 1,133 Credits 2,362
One of the results produced in the process of writing other batch files. The draft paper is in bathome's chatter section and in cn-dos's blog


Function: multiply two numbers with no digit limit

Input format like 10 20

You can choose a base within 10 for multiplication, such as 100 11 2 , where 2 means binary



[ Last edited by 523066680 on 2009-5-1 at 23:09 ]
Floor2 BC Posted 2009-02-21 18:58
中级用户 Posts 175 Credits 338
Hurry up and split the module out and add it to the function library...
Floor3 moniuming Posted 2009-02-21 20:24
银牌会员 Posts 574 Credits 1,335 From 广西
Originally posted by BC at 2009-2-21 18:58:
Hurry up and split the module out and add it to the function library...

It doesn't support floating-point operations or positive/negative number operations, and you can't define the number of decimal places to keep, so it's not mature enough to make into a function yet...
How about this?
"Batch Function Library"

[ Last edited by moniuming on 2009-2-21 at 20:27 ]
Floor4 523066680 Posted 2009-02-22 11:32
银牌会员 Posts 1,133 Credits 2,362
So it still needs improvement don't rush everything starts from the simple stuff.

My time online is too limited everyone else is improving, but I am standing still , sigh
Relying on two sheets of draft paper, I'll keep working hard...

[ Last edited by 523066680 on 2009-2-22 at 12:24 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023