Maybe they mean with "global", that the function doesn't belong to a class, so you can call it "global", "foo()" instead of "baz.foo()" (baz is the name of the class) (or however it is done in C++)
"sts" is the name of the variable that is used to temporary store the value that is passed on when calling the function ( stonetolb(stone) ). So "sts" contains the value of "stone" in your example. You then calculate the new weight (14 * sts) and return it...