Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

BlackBerry Development Advisor
Posts: 15,882
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

asin problem

Quote from the previous forum:

Guest: Raiden
asin problem
Posted: Jul 15, 2008 4:19 AM
Hello guys'
I'm developing desktop application on the BB.
I have some problem today. Because Black Berry JDE hasn't Trigonometrical function that named asin. How to solve this problem ? is there any function instead of it ?
Tnx ur advice.

The Math class contains a sin method.  You could use it and then convert to asin.  Just remember:



y = arcsin(x)

sin(y) = x

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.