Question : Convert to radian in scala
Answered by : zac
// Scala program of Float toRadians()
// method
// Creating object
object GfG
{
// Main method
def main(args:Array[String])
{
// Applying toRadians method
val result = (56).toRadians
// Displays output
println(result)
}
}
Source : https://www.geeksforgeeks.org/scala-float-toradians-method-with-example/ | Last Update : Sun, 06 Mar 22