get next float from input into *pn