multi criteria IF statement
|
06-12-2021, 11:53 AM
Post: #7
|
|||
|
|||
RE: multi criteria IF statement
(06-12-2021 03:05 AM)Dougggg Wrote: there is a system varable HAngle you can set to 0 for radian and 1 for degrees, by default it is set in the setup screen or app On HP Prime emulator, HAngle cannot be set to 0 in CAS (Why?) CAS> HAngle := 0 → "HAngle(0) Error: Bad Argument Value" It might be better to use AAngle instead, see http://edspi31415.blogspot.com/2018/02/h...mcalc.html Code: EXPORT bearing(x,y) // x=north, y=east (06-11-2021 02:04 PM)toml_12953 Wrote: Why write a function when one is already built in? Because there is a bug in ARG ? see https://www.hpmuseum.org/forum/thread-16977.html We can use atan2 instead. Code: EXPORT bearing(x,y) // x=north, y=east |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
multi criteria IF statement - Amer7 - 06-11-2021, 11:06 AM
RE: multi criteria IF statement - roadrunner - 06-11-2021, 11:37 AM
RE: multi criteria IF statement - Amer7 - 06-11-2021, 11:59 AM
RE: multi criteria IF statement - toml_12953 - 06-11-2021, 02:04 PM
RE: multi criteria IF statement - Liamtoh Resu - 06-11-2021, 10:09 PM
RE: multi criteria IF statement - Dougggg - 06-12-2021, 03:05 AM
RE: multi criteria IF statement - Albert Chan - 06-12-2021 11:53 AM
RE: multi criteria IF statement - toml_12953 - 06-13-2021, 05:35 AM
RE: multi criteria IF statement - Joe Horn - 06-13-2021, 01:10 PM
RE: multi criteria IF statement - toml_12953 - 06-13-2021, 03:19 PM
RE: multi criteria IF statement - David Hayden - 06-12-2021, 02:28 PM
RE: multi criteria IF statement - Liamtoh Resu - 06-16-2021, 02:58 AM
|
User(s) browsing this thread: 1 Guest(s)