You can only store rational numbers as a ratio of two numbers, and there’s infinitely times more irrational numbers than rational ones - as soon as you took (almost any) root or did (most) trigonometry, then your accurate ratio would count for nothing. Hardcore maths libraries get around this by keeping the “value in progress” as an expression for as long as possible, but working with expressions is exceptionally slow by computer standards - takes quite a long time to keep them in their simplest form whenever you manipulate them.
Well, we’ve a single cable coming over from France that makes up about 3% (I think) of our total electricity supply. So “French Nuclear” should be a bigger entry in that table than coal, solar, hydro or bio. That’s not the only import, either, so it’s not completely impractical for the missing percentages to be imports.
https://en.wikipedia.org/wiki/HVDC_Cross-Channel