diff --git a/R/format_numeric.R b/R/format_numeric.R index aaff0cad..9a101503 100644 --- a/R/format_numeric.R +++ b/R/format_numeric.R @@ -20,7 +20,7 @@ format_numeric <- function(value, num_suffix, digits, num_mark_big, num_mark_dec num_zero = num_zero, num_fmt = num_fmt) # integer - } else if (isTRUE(check_integerish(value)) && !is.null(digits)) { + } else if (isTRUE(check_integerish(value))) { out <- format_integer(value, digits = digits, num_mark_big = num_mark_big, diff --git a/inst/tinytest/_tinysnapshot/html-missing_value.html b/inst/tinytest/_tinysnapshot/html-missing_value.html index b4e7dee8..d1d0da8f 100644 --- a/inst/tinytest/_tinysnapshot/html-missing_value.html +++ b/inst/tinytest/_tinysnapshot/html-missing_value.html @@ -93,15 +93,15 @@