My Yanmar has a fuel gauge (analog) on one of the control panel pages. The sensor is in the aft end of the tank. However it is only readable when we are stopped. When under way, the fuel sloshes to the back. It reads 100% pretty much all the time.
However the Yanmar computer keeps very accurate track of fuel used and feeds that info to the Garmin. It is displayed as one of my marginal details continuously on the Nav screen. When I fill up I have found the Garmin accurate to a SMALL fraction of a gallon.
Note: It does not keep track of generator use nor does it know if someone stole, say, 50-60 gallons. So, it is good to occasionally check the fuel tank sensor against the Garmin display before you start up and go too far.