reddy_kilowatt Posted April 17, 2009 Share Posted April 17, 2009 I am creating my own cart information and for some reason any amount over 1000.00 gets output to the session variable as 1.00 all other numbers are correct. up to and including 999.99 is there a limit on the number stored? Quote Link to comment https://forums.phpfreaks.com/topic/154520-solved-sessions-and-number-storage/ Share on other sites More sharing options...
Daniel0 Posted April 17, 2009 Share Posted April 17, 2009 Could you perhaps show us the code that sets the variable? Quote Link to comment https://forums.phpfreaks.com/topic/154520-solved-sessions-and-number-storage/#findComment-812465 Share on other sites More sharing options...
reddy_kilowatt Posted April 17, 2009 Author Share Posted April 17, 2009 I will try but as it relies on several database tables to get information it might be difficult to make it work with out sending all my database info too. Quote Link to comment https://forums.phpfreaks.com/topic/154520-solved-sessions-and-number-storage/#findComment-812482 Share on other sites More sharing options...
reddy_kilowatt Posted April 17, 2009 Author Share Posted April 17, 2009 solved at this time as the number_format() function had something to do with it. Quote Link to comment https://forums.phpfreaks.com/topic/154520-solved-sessions-and-number-storage/#findComment-812487 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.