Before passing to
, you need to divide your 64-bit number by 100. And the format string is wrong, of course.
You can use either standard or custom formatting, depending on your requirements which you did not share. One example is not enough. What's the valid range of numbers? Do you want zero-padding (than you would use "00.00")? Can it be more than 100 or 1000, etc.? In this case "##.##" will be not enough. Do you need fixed relative precision or absolute? Depending on that, I would simply use standard "F" (fixed-point) or "G" (general) format, but it all depends on detail of your requirements. Read the MSDN help articles referenced above, try it our accurately and choose what you really need. Don't forget to delete by 100. :-)