Make string to numeric
#1

Hello,

I have a little problem, I want to make a string to a numeric, Something lie this:

"453" -> 453

Does anyone know how to do that?
Thankyou,
Reply
#2

Don't use %s, use %d...
Reply
#3

or i%
Reply
#4

I know, but its get a value from MySql Database as string,
Reply
#5

You mean like strval(..) ?
Reply
#6

Yes, thats was the function that i did search for thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)