Numbers within units (50g)
|
09-22-2015, 05:43 PM
Post: #20
|
|||
|
|||
RE: Numbers within units (50g)
(09-18-2015 09:28 PM)Brad Barton Wrote: I was wondering if we could create a conversion factor that would automatically use a flexible numerical value taken from another memory location to convert between displacement and acceleration. I guess I'm asking: "Since you can put a number in the conversion factor (as you've demonstrated above), is it possible to "call" or "peek" a value from somewhere else and apply it as part of the conversion?" After a few days I found myself needing something similar, so your idea wasn't so crazy after all. I'm not really looking at a variable conversion rate, but I need the conversion rate to have variable precision, therefore it's a different number depending on the system precision (practically, it's the same problem for a different purpose). Think for instance the conversion from degrees to radians. The factor pi/180 would need to be recomputed at the current system precision to produce an accurate conversion, so I do need a way to recall a constant 'pi/180' from some external source, rather than have a number pre-computed as part of the unit definition. I'm writing this because my own post made it seem like a not-so-good idea (at the time). Now it hit me, and I need to implement it somehow (still trying to figure out that part). |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)