Initialization

Report a typo

Choose all the correct ways to define the BigDecimal object.

a)

val number = BigDecimal("1000000000000.99999999999999999999")

b)

val number = BigDecimal.TEN 

c)

val number = BigDecimal(0.5)

d)

val number = "12754653789064.563874596507".toBigDecimal()
Select one or more options from the list
___

Create a free account to access the full topic