Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Linijka zwracająca długość inta:
- floor(log10(liczba))+1;
- // Zwraca pierwszą cyfrę inta: WŁASNA FUNKCJA KURDE POTĘGI!
- liczba/(int)potega(10.0, floor(log10(liczba)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement