View Full Version : Converting Strings to Numbers
06-12-2005, 11:17 PM
What commands would i have to do to change a string to a number format? Thanks to anyone who helps me
06-12-2005, 11:47 PM
You can either run it through intval() or settype(), or just cast it as you assign it to a variable:
$var = (int)yourvalue;
06-13-2005, 02:38 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.