labkey sql and converting numeric value to string

LabKey Support Forum (Inactive)
labkey sql and converting numeric value to string Matthew Bellew  2010-10-08 10:59
Status: Closed
 
This is a common problem when dealing with floating point data. Even relatively small decimal numbers can't be represented exactly, and different systems handle string conversion differently.

Try this

CONVERT(t1.volume, NUMERIC) || ' ' || t1.vunits as volume