Skip to main content
CalcBuilder logo
CalcBuilder Forum

Can CB do scientific calculation?

User wuyidebh

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

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

Thank you.

...
List Manager

Build different lists for your site

Buy now!
...
Support/development 10 hours

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

Buy now!