Numbers within units (50g)
09-22-2015, 05:43 PM
Post: #20
 Claudio L. Senior Member Posts: 1,887 Joined: Dec 2013
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 »

 Messages In This Thread Numbers within units (50g) - Claudio L. - 09-15-2015, 09:53 PM RE: Numbers within units (50g) - rprosperi - 09-16-2015, 12:55 AM RE: Numbers within units (50g) - Bruno - 09-16-2015, 06:54 AM RE: Numbers within units (50g) - Claudio L. - 09-16-2015, 04:43 PM RE: Numbers within units (50g) - rprosperi - 09-17-2015, 12:38 AM RE: Numbers within units (50g) - Claudio L. - 09-17-2015, 02:44 AM RE: Numbers within units (50g) - Csaba Tizedes - 09-16-2015, 10:21 PM RE: Numbers within units (50g) - Tugdual - 09-17-2015, 06:22 AM RE: Numbers within units (50g) - Csaba Tizedes - 09-17-2015, 07:39 AM RE: Numbers within units (50g) - Claudio L. - 09-17-2015, 01:25 PM RE: Numbers within units (50g) - Brad Barton - 09-18-2015, 02:56 AM RE: Numbers within units (50g) - Claudio L. - 09-18-2015, 01:01 PM RE: Numbers within units (50g) - Brad Barton - 09-18-2015, 09:28 PM RE: Numbers within units (50g) - brickviking - 09-18-2015, 10:04 PM RE: Numbers within units (50g) - Brad Barton - 09-19-2015, 02:39 AM RE: Numbers within units (50g) - Claudio L. - 09-19-2015, 05:49 PM RE: Numbers within units (50g) - Brad Barton - 09-22-2015, 02:56 AM RE: Numbers within units (50g) - Csaba Tizedes - 09-22-2015, 07:37 AM RE: Numbers within units (50g) - Brad Barton - 09-23-2015, 04:46 AM RE: Numbers within units (50g) - Claudio L. - 09-22-2015 05:43 PM RE: Numbers within units (50g) - Brad Barton - 09-23-2015, 04:53 AM RE: Numbers within units (50g) - Claudio L. - 09-23-2015, 07:03 PM RE: Numbers within units (50g) - Tugdual - 09-22-2015, 05:40 AM