View Full Version : Converting Strings to Numbers
06-12-2005, 10: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, 10: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, 01:38 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.