CalcBuilder Forum

Can CB do scientific calculation?

User 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

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

Thank you.

...
CalcBuilder

Create dynamic calculators

Buy now!
...
List Manager

Build different lists for your site

Buy now!