Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
in Javascript, exist a function that return only the fractional part of a number, like Math dot something.... ? How can I get it?
function(number, divisor){  

   //and return to me only the fractional part.

}

example : 45 , 20 = 2.25, I need return 0.25 to up, 0.3.

Sure, I can do many calculation inside and return what I need, I just want to know if have some way efficent, like Math.ceils and others functions...

thanks

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!