$max =
pow(10,
$this->_precision
);
// Milli includes seconds
if ($this->_fractional >=
$max) { while ($this->_fractional >=
$max) { $this->
addSecond(1
);
$this->_fractional -=
$max;
} } if ($this->_fractional < 0
) { while ($this->_fractional < 0
) { $this->
subSecond(1
);
$this->_fractional +=
$max;
} } if ($this->_precision >
strlen($this->_fractional
)) { $this->_fractional =
str_pad($this->_fractional,
$this->_precision, '0', STR_PAD_LEFT
);
} return $this;
}