Get Numeric Value From String Javascript Functions Types In C