rupam_jaiswal Posted July 20, 2009 Share Posted July 20, 2009 HI, My table has 2 fields Id,Marks. Marks can be 100/200.Now I want to update marks by 2 ways. 1) add 5 to both numerator and denominator i,e 105/205. 2) add 5 to numerator i,e 105/200. What is the way to implement this? Regards Rupam Quote Link to comment https://forums.phpfreaks.com/topic/166600-query-for-updating-fraction-value/ Share on other sites More sharing options...
trq Posted July 20, 2009 Share Posted July 20, 2009 Store your numerator and denominator in separate columns like they should be. Quote Link to comment https://forums.phpfreaks.com/topic/166600-query-for-updating-fraction-value/#findComment-878482 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.