Gimp.Scanner.prototype.parse_float

function parse_float(): [ok: Boolean, dest: Number(gdouble)] {
    // Gjs wrapper for gimp_scanner_parse_float()
}
  

Since 2.4

ok

true on success

dest

Return location for the parsed float