+44 7881601035 Skype: dangibas

HYGEN Blog

Web Design • Web Development • Project Management • Travel

HYGEN Blog HomeHome » Free Bet Returns Calculator

Dan Gibas

Dan Gibas, Director, HYGEN HYGEN Web Design
A British expat web monkey living in Malaysia. Hire me!

Free Bet Returns Calculator

January 28th, 2011 | by admin |

Free bet returns calculator

Free bet returns calculator

This free bet returns calculator helps you calculate exactly what returns you can expect based on fractional odds and the bet stake placed… It’s written in simple JavaScript :)

Feel free to use the code freely and share it however you must add a link to this blog on the page!

Free Betfreds free bet calculator

JavaScript source code:

/*
 * @author Dan Gibas
 * @web http://hygen.net
 */
function calcReturns () {
var left;
var right;
var amount;
var resultsID;
var leftValue;
var rightValue;
var amountValue;
var decimal;
var returns;
 
 
left = document.getElementById('left');
right = document.getElementById('right');
amount = document.getElementById('amount');
resultID = document.getElementById('returns');
 
leftValue = left.value;
rightValue = right.value;
amountValue = amount.value;
 
decimal = leftValue / rightValue;
returns = decimal * amountValue;
returns = returns + parseFloat(amountValue);
 
resultID.innerHTML = 'Returns: ' + returns;
}

Here it is in action…

5 Responses to “Free Bet Returns Calculator”

  1. 5
    admin Says:

    Hi Kim,

    I’ve sent you a seperate message on Facebook. aieh is a scam!

    Dan

  2. 4
    Lim Kimlang Says:

    hi would u pl help me to check this name and this number
    they a working in the aieh bank malaysia or not ?
    Head Office:
    AIEH BANK MALAYSIA
    Ref: NW38GE/2011/MY

    Attention:

    You are to make payment 1,100Dollars (ONE THOUSAND ONE HUNDRED UNITED STATES DOLLARS) as charges for TAX as regards the funds you are about to transfer from our bank via any WESTERN UNION MONEY TRANSFER outlet/office near you of which you are to make the payment with the details below.

    Name of Receiver: YOHANCE DOMINIC
    Address of Receiver: Unit 22 Taman Promin Jaya Miri Kuala Lumpur Malaysia.
    Mode of Payment:………….Western Union Money Transfer

    Note that upon receipt of your payment details we shall have log in details and all documents backing your transfer sent to you via email attachement so as to enable you commence transfer,you are to send us the below details as soon as you make payment.

    NAME OF SENDER:___________
    ADDRESS OF SENDER:________
    AMOUNT:___________________
    MONEY TRANSFER CONTROL NUMBER.(M.T.C.N):____________________
    TEST QUESTION AND ANSWER (IF ANY):__________________________

    Thank you for your communication with AIEH BANK MALAYSIA where all
    financial impossibilities are made possible…

    We await your reply.
    Regards,
    (Chief Accountant)

    Regards,
    (Chief Accountant)
    PHONE : +60195414941
    AIEH BANK MALAYSIA
    *********************************************************************************************************************
    AIEH BANK MALAYSIA was incorporated on 31 May 1960 and commenced operations on 12 September 1960. On 17 February 1962, the bank was listed on the Kuala Lumpur Stock Exchange (now known as Bursa Malaysia).

    Today, it is the largest financial services group in Malaysia. Its extensive products and services include commercial banking, investment banking, Islamic banking, offshore banking, leasing and hire purchase, insurance, factoring, trustee services, asset management, stock broking, nominee services, venture capital and Internet banking.

    The AIEH Group has over 450 offices in 14 countries namely Malaysia, Singapore, Philippines, Brunei Darussalam, Indonesia, Vietnam, Cambodia, Papua New Guinea, Hong Kong SAR, People’s Republic of China, Bahrain, Uzbekistan, Pakistan, Great Britain and the United States of America.
    *********************************************************************************************************************

  3. 3
    kimlanglim Says:

    Dear madam/sir
    I would like to know about the aieh bank malaysia
    And maybank ,They a boths?
    Best regard kimlang

  4. 2
    admin Says:

    Hi there,

    You just need to put the code inside < script type="text/javascript" > code here tags! :)

  5. 1
    Value Tips Says:

    Hi There,
    Im trying to copy and paste your code but it doesnt work for me, my website just shows the code rather than the calc, can i download the code instead somehow?
    thanks

Leave a Reply

Blogging Links

Blog Top List Blog Top List Blog Rankings Blogarama Web Design Blogs - BlogCatalog Blog Directory Web design blogs
BlogMalaysia.com Hygen Web Design at Blogged expat Kuala Lumpur

Games