Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

TypeError: sino is not a function

Name: Anonymous 2012-10-19 15:38


function sino(){
    v1 = parseFloat(document.getElementById("display").value);
    if (v1 === 30)
        return document.getElementById("display").value = (1 / 2);
    if (v1 === 45)
        return document.getElementById("display").value = (1,4142135623730950488016887242097 / 2);
    if (v1 === 60)
        return document.getElementById("display").value = (1,7320508075688772935274463415059 / 2);
}

???

Name: Anonymous 2012-10-19 15:47

why don't you show the code that brings up the type error, not what the type error is referencing

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List