# File 'lib/zilliqa/util/unit.rb', line 8defself.from_qa(qa,unit,is_pack=false)ret=caseunitwhenZILqa/1000000000000.0whenLIqa/1000000.0whenQAqaendifis_packret.roundelseretendend
.to_qa(qa, unit) ⇒ Object
25
26
27
28
29
30
31
32
33
34
# File 'lib/zilliqa/util/unit.rb', line 25defself.to_qa(qa,unit)caseunitwhenZILqa*1000000000000whenLIqa*1000000whenQAqaendend