libs/web: add %t format to String.format(), fix float formatting