Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

hour calculation

Questions related to using nuBuilder Forte.
Post Reply
joecocs
Posts: 67
Joined: Wed Jul 04, 2018 4:11 pm
Location: France

hour calculation

Unread post by joecocs »

I would like to make a calculation between hours and an hourly price.

I tried with different format of fields in the table on mysql but I can't do it.

It seems that to make calculations with fields only need numeric format.

if you have a work lead?
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: hour calculation

Unread post by kev1n »

Can't you use a Calc Object?

https://wiki.nubuilder.cloud/ ... Tab_-_Calc

Is the "hourly price" stored in a field, what format does it have?
joecocs
Posts: 67
Joined: Wed Jul 04, 2018 4:11 pm
Location: France

Re: hour calculation

Unread post by joecocs »

yes my hourly price is stored in a field, for him no problem.

For the hour, I want to have an 'hh:mm' input format and I am using a text field, so I cannot calculate in a calc.

I tried the 'Hack' in the setup to add the fields that we want for the calculation but it does not work anyway
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: hour calculation

Unread post by kev1n »

You can use JavaScript to do the calculation.
Post Reply