Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I have a breakAmt field in my table that is a float datatype. The values need to be in hours. So if employeeA took a break for 1 minute it should be 0.016. If EmployeeB had a 19 minute break it should be 0.316. If EmpC took a 3 minute break I get the value 5.0000000000000003E-2. How can I convert this to leave out the E-2????The reson I need to maintain a float is because I need to extract these values to a foxpro table that requires a float field. If I use a decimal instead will the export bomb????Thanks,Ninel
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts
Posted - 2005-04-26 : 19:13:12
Your calculation is correct, the E-2 is the exponent, 10 to the minus 2 power.