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

182
Views
Dar formato a un número en una tabla de datos en JavaScript

Dar formato a una tabla en JavaScript. Tengo 1 tabla con los siguientes datos CUNIT: .056 Lo que quiero: 0.056 En mi base de datos mi procedimiento me da un resultado de 0.056. Utilice las tablas de datos | Complemento de tabla para jQuery. Lo que quiero hacer está en la imagen: ingrese la descripción de la imagen aquí

 var tbl_ctsunit; function List_CTSUnit(id){ tbl_ctsunitario = $("#tbl_ctsunit").DataTable({ "ordering": false, "bLengthChange": true, "searching": {"regex":false}, "lengthMenu": [[10,25,50,100,-1],[10,25,50,100, "All"]], "pageLength":10, "destroy": true, "async": false, "processing": true, "bPaginate":false, "bFilter": false, "bInfo":false, "sDom":'t', "ajax":{ "url": "../controller/datos/controller_list_ctsunit.php", type:'POST', data:{ id:id } }, "columns":[ {"data":"PRODUC"}, {"data":"T_UNIT"}, {"data":"CUNIT"}, ], "language":idioma_espanol, select: true }); }
 <table id="tabla_ctsunitario" class="display"> <thead> <label>Costos Unitario</label> <tr> <th>PROD</th> <th style="width:100px">CUNIT</th> </tr> </thead> </table>

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!