Basically a direct port of QMarginF, but forced to always use double values, and with added toString()/fromString() methods.