$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [date_time] Creating a ptime from a double
From: Igor R (boost.lists_at_[hidden])
Date: 2009-11-03 12:28:03
> The documentation for modf states that d == sec + mksec. This means that
> mksec is a fractional number and not a whole number. The pt::microseconds expects whole numbers of microseconds.
Sorry, of course, you have to multiply the fractional part by some
factor (1000000?)