Availability:C-language interface function
bool PL_get_float(term_t 
+t, double *f)If t is a float, integer or rational number, its value is 
assigned over f. Note that if t is an integer or 
rational conversion may fail because the number cannot be represented as 
a float.