Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

String to Integer conversion

Hi, facing a problem here in core part of brightscript. like, str = "1234567891000" , and @console typing print str.toInt() and getting Output as 2147483647 though type Integer. Why? :?:
0 Kudos
2 Replies
Level 10

Re: String to Integer conversion

I've been blinded! :shock: 8-) Please use more normal colors, better for our eyes.

As to the problem, I can't help, sorry
0 Kudos
Level 7

Re: String to Integer conversion

Your conversion has exceeded the maximum size of an integer, being the value it has returned.
My Channels: 2D API Framework Presentation:
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos