n! = n × (n−1) × … × 2 × 1, with 0! = 1.⌊log10(n!)⌋ + 1.∑⌊n/5⌋ + ⌊n/25⌋ + ⌊n/125⌋ + … (number of factor-of-10s).n! ≈ m × 10^e where e = ⌊log10(n!)⌋ and m = 10^{ {log10(n!) − e} }.Choose which optional categories you allow. Necessary cookies are always on. Privacy Policy.