🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.uu.math.misc
1 messages
1 total messages Started by Niles Mills Wed, 30 Dec 1992 18:30
Packed Decimal Question
#9
Author: Niles Mills
Date: Wed, 30 Dec 1992 18:30
31 lines
1527 bytes
Greetings.  And Help.

I am writing a utility that converts Microsoft Works spreadsheets
into text format.  Ie., the same format that Microsoft Works itself
writes when you save a spreadsheet in text format.

I am unable to decipher the storage format for integers.  From other
documentation I've read, it appears that all (or nearly all) spreadsheet
manufacturers have elected to store numbers as IEEE standard (8087)
Packed Decimal Numbers, 10 bytes to the cell, using the last byte to
indicate an exponent.

Can anyone describe an algorithm that converts the BCD data into 
displayable ASCII?  Or perhaps point me towards a reference?  Or am I
completely off the track regarding the storage method?

If you would email me directly at the address below, I'd sure appreciate
it, as my site does not receive this newsgroup as part of its daily
newsfeed.

Thanks, kindly, in advance for your help.

Regards,

Niles Mills

--
Connect Software   | Voice   919/240-0132 | Internet  root@Connect.COM
3213 Old Gate Road | FAX     919/240-0091 | UUCP      uunet!connect!root
Morehead City, NC  | v.32bis 919/240-0192 | MCI Mail  220-5814
28557-3167 USA     | BBS     919/240-0392 |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads