|
-
November 27th, 2010, 10:03 AM
#1
Fixed point number to and from string
Hi, I am trying to make a fixed point number in c#.
I would like to be able to convert it to a decimal string, and to parse a decimal string into a fixed point number. I can't find a good way of doing it though. The bits before the comma is ofcourse not a problem, but how would you convert the part of the number after the comma?
btw, I have 19 bits before the comma, and 12 bits after the comma.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|