Member
Join Date: Sep 2013
Posts: 78
|
Hello again,
So, I basically almost done it with the inches and feet to cm value. The only problem I have now with the code, is that it uses rounded value. When I apply to the right arrow, or left arrow, the value is not going up by one step increment, but by 3 (2.54 rounded). Do you guys have a better code for bringing the height of a character to cm instead of the imperial system ? I will change the weight as well for my character, but if those two values (height and weight) are both stored in imperial, it's ok, as long as I can enter them and read them as being metric ? Many thanks for the help ! Quote:
Last edited by Vampyre; June 18th, 2014 at 07:12 AM. |
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
It sounds like you simply want to delete the imperial calculations and store the value as cm. That won't allow for direct import of characters - the data in one version will be stored as a number of inches and in the other version as a number of cm, but it will mean that each click of the arrows increases or decreases the value by 1cm.
|
#2 |
Member
Join Date: Sep 2013
Posts: 78
|
Thank you Matthias, I wasn't sure there wouldn't be other implications if I didn't made a calculation there. Thanks for the confirmation, I will modify the code then
|
#3 |
|
|