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

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

ArchiverArchiver Posts: 46,084
edited 2004-01-13 01:41 in General Discussion
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
Sign In or Register to comment.