9 lines
82 B
Ruby
9 lines
82 B
Ruby
module Math
|
|
|
|
# 10 to the power +x+
|
|
def self.exp10(x)
|
|
10.0 ** x
|
|
end
|
|
|
|
end
|