_Teen_ commented on a Page, !calc Calculator  -  Dec 27, 2010

about the k m b, on your main script, you use it to multiple if the person use

!calc 33K+44K , then the script will recognize that this is 33,000+44,000

we just used $replace, on this case, to replace k for 1000, m 1000000, b *1000000000

so the $calc identifier will multiply, in this case

$calc(33*1000) and 33k, will become 33,000

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.