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

143
Views
en Javascript, existe una función que devuelve solo la parte fraccionaria de un número, como Math dot something.... ? ¿Cómo puedo obtenerlo?
function(number, divisor){ //and return to me only the fractional part. }

ejemplo: 45, 20 = 2,25, necesito devolver 0,25 para arriba, 0,3.

Claro, puedo hacer muchos cálculos internos y devolver lo que necesito, solo quiero saber si tengo alguna forma eficiente, como Math.ceils y otras funciones ...

Gracias

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!