Hi All,
I am hoping that someone can answear me this.
When saving a property either with SetProperty('something') or this.something, is it possible store a property as a float or int?
From my testing, it seems that numbers are converted to string on setting.
example.
local something = 2.5;
type(something) ==> number
this.something = something;
type(this.something) ==> string
Thanks.
Object property type
Moderator: NBJeff
Re: Object property type
Use tonumber() to convert the strings you get back into a number.
Who is online
Users browsing this forum: No registered users and 2 guests