smart float formatting