mga_ka_php Posted May 20, 2010 Share Posted May 20, 2010 define('ORIGINAL_PRICE', 49.97); $computation = "ORIGINAL_PRICE - (ORIGINAL_PRICE * 0.50)"; echo (int) $computation; that code is not working but is that possible or how to code that to work? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.