Difference between revisions of "GetTotalAsSum"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "=== getTotalAsSum === Please take a look at the examples to get understand about this function.<br> ==== Syntax ====    getTotalAsSum(); ==== Arguments ==== &...")
 
Line 1: Line 1:
 
=== getTotalAsSum  ===
 
=== getTotalAsSum  ===
  
Please take a look at the examples to get understand about this function.<br>  
+
&nbsp;&nbsp;&nbsp; Please take a look at the examples to get understand about this function.<br>  
  
 
==== Syntax  ====
 
==== Syntax  ====
Line 16: Line 16:
  
 
==== Examples  ====
 
==== Examples  ====
 +
 +
<source lang="javascript">print(getTotalAsSum());      // false is default
 +
print(setTotalAsSum(true));  // true
 +
print(getTotalAsSum());      // true</source>
  
 
[[Category:TotalAsSum_functions]]
 
[[Category:TotalAsSum_functions]]

Revision as of 11:57, 19 September 2011

getTotalAsSum

    Please take a look at the examples to get understand about this function.

Syntax

   getTotalAsSum();

Arguments

   none

Return type

   boolean values (true / false)

Examples

print(getTotalAsSum());      // false is default
print(setTotalAsSum(true));  // true
print(getTotalAsSum());      // true