- Joined
- Sep 22, 2004
- Messages
- 1,602
- Location
- West Virginia
- Nation Banner

- Main Job

- Secondary Job

- Third Job

- Server
- Quetzalcoatl
- Linkshell
- NoizyTribe
- FFXI
- Paswaru
- FFXIV
- Pascal Fairchild
Ok, I know this is very simple math but for some reason the solution is eluding me. I know we have other programmers here so I’m requesting some help.
I have a ratio 5:4 (i.e. a fraction). To convert that to a decimal you divide 5 by 4 to get 1.25.
Ok, now I need to convert the decimal back to a fraction, which I know how to do, but I need to do it with out having a whole number (i.e. back to 5:4 or the equivalent instead of 1 and 1 / 4).
Hope this makes since, and thanks for any help!
I have a ratio 5:4 (i.e. a fraction). To convert that to a decimal you divide 5 by 4 to get 1.25.
Ok, now I need to convert the decimal back to a fraction, which I know how to do, but I need to do it with out having a whole number (i.e. back to 5:4 or the equivalent instead of 1 and 1 / 4).
Hope this makes since, and thanks for any help!