getTransactionAmount()

From Hack Wars Wiki

Jump to: navigation, search


Function information for getTransactionAmount()
Function getTransactionAmount()
API Watch
Cost $250
Level 5
CPU Usage 2
Description Returns the amount of money that caused a petty cash watch to fire.


Example

This example estimates how much money you received when this watch fired and deposits the amount in your bank.

float amount=getTransactionAmount();
depositPettyCash(amount);
Personal tools