View Single Post

Old 08-15-2006, 12:29 PM   #46
familyrestaurantbomber
//bemanistyle::[Member]
 
familyrestaurantbomber's Avatar
 
familyrestaurantbomber is offline
Join Date: Jul 2006
Posts: 125
Marketplace Rating: 0
Tokens: 0.00
Bank: 15,402,088.88
Total Tokens: 15,402,088.88
Donate Tokens
Send a message via PM  to familyrestaurantbomber
Default

Quote:
Originally Posted by EdBoy
Doofus, you can't do C/C++ on the intarwebz.

To clarify, here's the (okay, to be fair, it's identical) PHP script.

PHP Code:
<?php
define 
(TOKEN_THRESHHOLD,1000000)
define (LOWEST_INTEREST_RATE,0.012);
define (LOW_INTEREST_RATE,0.02);

// All that other crap

if ($currTokens TOKEN_THRESHHOLD)
{
    
$interestRate LOWEST_INTEREST_RATE;
}
else
{
    
$interestRate LOW_INTEREST_RATE;
}

$interest $currTokens $interestRate;
echo 
$interest '% interest.';
?>

You know PHP and I don't. That explains why you have more than one million tokens in your bank account, and I don't.
  Reply With Quote