added format_decimal for int values