2

I have a simple calculator code and I want to include square root in it. I am relatively new to applescript and I have no idea how. It might be nooby but thanks anyway!

samrockw22
  • 59
  • 6

1 Answers1

5

You can just set the exponent to 0.5.

For example:

set num_ to 25.1
set sqrt_ to num_ ^ 0.5 
S.Spieker
  • 7,005
  • 8
  • 44
  • 50