Shop OBEX P1 Docs P2 Docs Learn Events
I don''t know Multiply a big quantities withBS2P. Please Help Me! — Parallax Forums

I don''t know Multiply a big quantities withBS2P. Please Help Me!

ArchiverArchiver Posts: 46,084
edited 2004-01-13 13:58 in General Discussion
My friend,


I need to send this result (product to a parallel printer, i think, i would
need to convert the hex number to BCD number to send it to the report of
this printer...

The complete proyect is, I need to add 24 number to max quantities 999
Ej:
1) 123
2) 456
3) 789
4) 123
5) 456
6) 789
7) 123
8) 456
9) 789
10) 123
11) 456
12) 789
13) 123
14) 456
15) 789
16) 123
17) 456
18) 789
19) 123
20) 456
21) 789
22) 123
23) 456
24) 789 +
23,976.00 is the max number to add 24 x 999(Max quantities)

Next I need to multiply with a number (The max number to multiply is
99,999.00)..
in fact The max result number is 23976 x 99999 =1297576024 I neet to do
this operattions...

If you can help me please let me know... i appreciate your help and prompt
response

Best Regards,
VENPROELEC C.A.
Eng. Damian Trujillo G.
Venezuela, Caracas
Phone:+58-416-8180941
Fax: +58-212-2347509



Please let me know What Can i do?

Mensaje Original

De: Tracy Allen [noparse]/noparse][url=http://forums.parallaxinc.com/group/basicstamps/post?postID=kyzI6pd3DyLTkdcLtkCBd1WQQJpB9zO3pi_qQrpMpAB3jZlpSwVbaoTFyGc1MHnvo-uy-4MnTi-DO9RgEA]tracy@e...[/url
Para: basicstamps@yahoogroups.com [noparse]/noparse][url=http://forums.parallaxinc.com/group/basicstamps/post?postID=a7UbQCAs8XJeUZBsbmZlGKIqXFHfM5tKN8sXfr2kxSi6NEQJdf16pwC2HSlC1vRIr4_SSHU2B-zbwXhk3LYDWdw4]basicstamps@yahoogroups.com[/url
Cc:
Asunto: Re: [noparse][[/noparse]basicstamps] I don't know Multiply a big quantities withBS2P.
Please Help Me!
Fecha: 12/01/2004 21:42:20
Mensaje:


Amigo,

What are you going to do with the product of the numbers? I mean,
will you have to print it on a screen, send it through a
communication channel, record it in memory? Or will it be involved
in further calculations and process control?

And you state that the numbers are "dec number". How are they coded
in the BASIC Stamp--binary, BCD, packed BCD, other?

-- Tracy


>Dear Basic Stamp Friends,
>
>I need your help about one big problem that i have...
>
>I need to multiply two (2) differents dec number quantities with BS2P, but
>my problem is folloging:
>
>1) The max first number is 23976 (dec number)
>2) The Max Second Number is 99999 (dec number)
>3) The Max result is 2397576024 (Dec Number)
>
>I don't know What can i do to make it, because i understand taht the max
>result to multiply is FFFF (Hex Number- WORD)
>
>I f anybody know What can i do, or If anybody have one similary program to
>do it, I would appreciate your help
>
>Best Regards,
>VENPROELEC C.A.
>Eng. Damian Trujillo G.
>Venezuela, Caracas
>Phone:+58-416-8180941
>Fax: +58-212-2347509

To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.


Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/basicstamps/

To unsubscribe from this group, send an email to:
basicstamps-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Sign In or Register to comment.