Adding Table of constant Units? how?
|
09-04-2016, 06:50 PM
Post: #6
|
|||
|
|||
RE: Adding Table of constant Units? how?
If you need your constants to include units rather than just numbers, there is a complication: CONVERT's second parameter must be 1 unit, not 0.5 unit (using 0.5 in this example to convert between HP AU and my own AU, to make the output value obviously different.
Code:
To make Using your own units possible you would want CONVERT to notice that MYAUinAU was a value other than 1 unit and modify the number returned accordingly. Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Adding Table of constant Units? how? - tom234 - 09-01-2016, 06:07 AM
RE: Adding Table of constant Units? how? - Thomas_Sch - 09-02-2016, 06:18 AM
RE: Adding Table of constant Units? how? - Didier Lachieze - 09-04-2016, 07:31 AM
RE: Adding Table of constant Units? how? - tom234 - 09-09-2016, 06:06 PM
RE: Adding Table of constant Units? how? - tom234 - 06-03-2019, 07:48 PM
RE: Adding Table of constant Units? how? - DrD - 09-04-2016, 09:23 AM
RE: Adding Table of constant Units? how? - Arno K - 09-04-2016, 10:00 AM
RE: Adding Table of constant Units? how? - StephenG1CMZ - 09-04-2016 06:50 PM
RE: Adding Table of constant Units? how? - tom234 - 09-09-2016, 06:12 PM
RE: Adding Table of constant Units? how? - StephenG1CMZ - 09-10-2016, 08:22 AM
RE: Adding Table of constant Units? how? - tom234 - 09-22-2016, 07:11 PM
|
User(s) browsing this thread: 2 Guest(s)