[Sidefx-houdini-list] ftoa problem and expression function

luc froehlicher lulu at alamaison.fr
Sun Oct 1 08:27:54 EDT 2006


hi everyone.

I'm trying to convert a binary number in string using ftoa
something like :

string myfunction(val)
{
string sval=ftoa(val);
return sval;
}

I always get the exponential notation ie:
echo `myfunction(00010001100)`
1.00011e+007

is there a way to avoid exponential notation or a way to get around this.

the other thing is that I wrote several expressions functions , is there 
a way tohave them permanently available
(ie without having to reload them everytime I launch houdini)

thanks
luc



More information about the Sidefx-houdini-list mailing list