|
Boost Users : |
Subject: [Boost-users] boost.units converting double tp SI prefix
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2010-03-12 13:00:58
Hi,
is there a way to use boost.units to convert a double automatically to a
SI unit prefix, e.g. 10e-3 to 10m or 10e3 to 10k ?? The value isn't know
at compile time, so the decision has to be done on runtime.
Thanks,
Olaf
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net