What about
Let ret: Number
If (someCondition) {
<a lot of expensive calculations>
ret = resultOfOperations
} else {
<a lot of other different expensive operations>
ret = resultOfOtherOperations
}
return ret
You can’t declare ret inside the brackets
Have you ever heard of anyone using bitcoin for anything other than speculation? I haven’t, and I often spend time in those circles. If you send btc you have to pay a lot on transaction fees