UDF: How to convert a float to a string?
I need the string representation of the flow time in my UDF.
The CURRENT_TIME macro outputs this time, but as a floating point number.
I tried to convert this float with sprintf into char, but fluent says 'undeclared variable'. The arguments to sprintf are declared and o.k., of course.
Re: UDF: How to convert a float to a string?
maybe I found a solution. If I compile my udf instead of interpreting it, i can use all this nice standard-C functions. O.K., at least I can use sprintf now.
|All times are GMT -4. The time now is 15:52.|