Человек-без-прошлого (ratnos) wrote in ru_php,
Человек-без-прошлого
ratnos
ru_php

print floor(log(1000, 10)); # => 2

UPD: Норм, живём.
print floor(log10(1000)); # => 3
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 35 comments