Posts by David Santos • 67 points
5 posts
-
0
votes3
answers2439
viewsA: Popular Modal Bootstrap for User Edit
You may be using ajax to populate the fields, maybe this will help you: <script> function pupularModal(id) { var cod_item = id; $.ajax({ url: "/lista/popular_modal", type: "POST", data:…
-
2
votes2
answers411
viewsQ: Where in integer field[] Postgresql
I am creating a select where I need to check in one of the columns that is of type integer[] if it has one of the values passed in the condition. for example: idTarefa | Setores 1 | {1,3,4} 2 | {2}…
-
1
votes3
answers1164
viewsA: Calculate Value Present in Javascript
With @Leo’s explanation I found that the error was to insert 2.5 as the rate, for my calculation the correct would be 0.025, so the function is correct: function PV(rate, nper, pmt) { return pmt /…
-
2
votes3
answers1164
viewsQ: Calculate Value Present in Javascript
I need to calculate the present value equivalent to Excel formula, I have the following data: VP(2,5%;48;-2052,50) which in excel returns me the value of 57,000.00 rounding down. Can anyone help do…
-
1
votes1
answer73
viewsQ: Questions on Check VB6 functions for PHP
I need to pass some VB6 codes for PHP but I have a question of what this code does: Private Function SomarValor(v As String) As Double Dim x As Byte, resultado As Double For x = 1 To Len(v)…