T
Tony Girgenti
Hello.
Working on a VS2005 SP1 Windows form program in .NET 2.0, on XP Pro, SP2.
I must be pretty stupid. I can't figure out how use decimal data in a table
where there is no decimal point. I populated the table with data from a
flat file that has a number like this "000001645000". Without the quotation
marks of course. The assumed decimal point is five digits from the right.
So that number shuould be 0000016.45000.
How do i use this decimal in a calculation as 16.45000. I'm not looking to
truncate any zeros, left or right, i just want to be able to use it as the
value it should be, 16.45. Also, i'm not looking to convert it to a string
as 16.45000. I know how to do that.
It is stored in the datatable as 1645000. I don't see a decimal point in
the table data.
Any help would be gratefully appreciated.
Thanks,
Tony
Working on a VS2005 SP1 Windows form program in .NET 2.0, on XP Pro, SP2.
I must be pretty stupid. I can't figure out how use decimal data in a table
where there is no decimal point. I populated the table with data from a
flat file that has a number like this "000001645000". Without the quotation
marks of course. The assumed decimal point is five digits from the right.
So that number shuould be 0000016.45000.
How do i use this decimal in a calculation as 16.45000. I'm not looking to
truncate any zeros, left or right, i just want to be able to use it as the
value it should be, 16.45. Also, i'm not looking to convert it to a string
as 16.45000. I know how to do that.
It is stored in the datatable as 1645000. I don't see a decimal point in
the table data.
Any help would be gratefully appreciated.
Thanks,
Tony