[Closed] dotnet problem and formating an output
Hi guys
I have a dotnet DLL giving my script some timing data and the problem is its coming in with a L on the end of the data.
so let say in my script I write this ;
Foo = deltatime – ( deltatime is the varible from the dll and lets say it = 50 )
print Foo
the output should be 50
but its 50L
Im very new to all this dotnet stuff so maybe Im doing something wrong ?
or maybe its just the way the DDL outputs its data, in that case is there a way to get rid of the L at the end , as its screwin up my code .
Thanks for reading and I hope someone can help
all the best Danny
In fact, the deltatime variable is a .Net long/Int64 value. So a L is appended. It can be converted to an Integer64 MAXScript value. The L can be removed with a string operation after converting the value to a string.
thanks for the info ypuech that helps a lot , I was just not sure why it was there . I will look into converting it