db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

numeric vs float

float8 is binary floating point; numeric is exact decimal. Some decimal fractions cannot be stored exactly in a float.

task

Show that 0.1+0.2 differs from 0.3 as float8 and equals it as numeric (two booleans).

hints