Unit Conversion App

RoksaltRoksalt Member Posts: 87
edited November 2012 in Working with GS (Mac)
Hi everyone,

I want to create a simple Unit conversion app that will allow me to convert things such as Area, Length, Energy, Power etc

I know I should use Tables for this but I'm a little unsure how to set it up.

I'm thinking a separate table for each Unit (i.e 1 for Area, 1 for Length) and then populating each table with the corresponding values but this just seems like an insane amount of work. Is there a faster / better way?

Thanks

Comments

  • RoksaltRoksalt Member Posts: 87
    bump... any takers?

    I have realised I can do all of this from a single table with 2 columns for each unit (i.e a name and a real...

    for example KM =1, M =1000, CM = 100,000) I just have to have a base unit chosen...

    although its not really working.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Couldn't you use mathematical formulas to convert the values?
  • RoksaltRoksalt Member Posts: 87
    I think so, but i'm not great at maths. Basically without writing a million rules I can't figure out how to do it.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    I imagine you could google most of the formulas you'd need. I haven't looked but it must be pretty common knowledge. :)
Sign In or Register to comment.