Tomas Toth
17th May 2012, 09:17
Hello
Does anyone can help how to specify the SINUS for some value ??

for example, what I tried>
[feature] = sin(164.4/8) i should get approx 0,35
in Baan I got value = 0.99

what do I do wrong ? Do I need to somehow specify that is (radials) ??

bdittmar
17th May 2012, 11:58
Hello
Does anyone can help how to specify the SINUS for some value ??

for example, what I tried>
[feature] = sin(164.4/8) i should get approx 0,35
in Baan I got value = 0.99

what do I do wrong ? Do I need to somehow specify that is (radials) ??

Hello,

BaanERP Programmers Guide


sin()

-------------------------------------------------------------------------
Syntax
double sin( double x )

Description
This computes the sine of x, in radians. The x argument can be a long or a double.

Return values
The sine of x.

Context
Bshell function.


So try : sin((164.4/8)*PI/180) should give the sin in DEG !

Regards

Tomas Toth
17th May 2012, 13:06
I do not succeed.... :(

Tomas Toth
17th May 2012, 13:13
I got it. Works. Thanks a lot ;)) ;)