Jump to content

Binary to (decimal) Integer Conversion or casting


AreWe Onyett
 Share

You are about to reply to a thread that has been inactive for 4391 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Can anyone tell me if there is any quick way to cast or convert a binary representation to a (decimal) integer value?

for example, my UI creates a text string in the form "1111" and I want to pass this to a function as an integer (decimal) value of 15 ....

Obviously I could code a function to do the conversion, but I was wondering if there is any built-in function, or method of casting the string to an integer value ... I haven't been able to find any information on this either here or in the LSL wiki ...

 

Thanks

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4391 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...