Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Convert Upp::String to int
Convert Upp::String to int [message #47065] Fri, 25 November 2016 14:11 Go to next message
lovmy is currently offline  lovmy
Messages: 44
Registered: November 2015
Member

Hi,

what's the method to convert Upp::String to int ?

Thank you for your response.
Re: Convert Upp::String to int [message #47066 is a reply to message #47065] Fri, 25 November 2016 22:13 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1085
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Try to use StrInt(const char* s). To revert this operation use IntStr. I strongly believe that this methods should be in official documentation...

Edit:
The documentation is updated. The results should be seen tomorrow.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 25 November 2016 23:58]

Report message to a moderator

Re: Convert Upp::String to int [message #47067 is a reply to message #47065] Sat, 26 November 2016 17:10 Go to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
For extensive formatting of int -> string you may also want to check this part of docs:

http://www.ultimatepp.org/src$Core$FormatFn$en-us.html

(I know the question was other way around, but just for completeness)

[Updated on: Sat, 26 November 2016 17:11]

Report message to a moderator

Previous Topic: GUI and Thread
Next Topic: Append line into LineEdit or DocEdit
Goto Forum:
  


Current Time: Fri Dec 13 22:14:12 CET 2024

Total time taken to generate the page: 0.02844 seconds