Return the absolute value of the argument:
Input
// by davey @beesandbombs | |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { |
/* | |
Script to store things entered by the user in a series of | |
form transaction steps into the browsers local storage, then | |
insert everything from local storage into a hmtl list | |
Requires you to add a class of .store to any form input you | |
want to store | |
insert at end of document.ready | |
*/ |