SpomaMewor
Member
I am fairly new to javascript so please excuse this question if it is really basic. I am writing a javascript web application that among other things needs to be able to ounces and turn them into pounds. this is simple enough by divding by 16. the problem is that I need to be able to take the remainder and display it in a fraction with denominator of 16. so if it comes out to 6.75 lbs i need to be able to say that this is 6 12/16 lbs. is this possible?
anyone who has any suggestions for me I would appreciate the help?