CalcBuilder Forum

Can CB do scientific calculation?

Usuario wuyidebh 2017-09-13 13:57:08

It seems that CB dosn't support some math function,such as sin() ,asin(), etc. If I want some scientific calculation use, how to do?

Moonsoft support 2017-09-13 14:06:00

Hi,
yes, you can use any math function. Here the list of php math functions, all of them are available:

http://php.net/manual/en/function.sin.php

so if you write at your code for ex

$result=sin($yourinput);

being 'yourinput' one of your fields variable names, it will work. Please double check you have not any other syntax error, like the ; at the end of the line for ex. Let us know if you need further help.

Regards

Usuario wuyidebh 2017-09-14 03:50:40

Thank you.

...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!