code: def float_format(number):
      """Format a float to a precision of 3, without zeroes or dots"""
      return ("%.3f" % number).rstrip("0").rstrip(".")
  
imports: from __future__ import division
  import re
  from decimal import Decimal
  from math import ceil, cos, floor, log10, pi, sin
label_desc: Use image node_id 1 for calling a global function with example usage: float_format(number) and returns: unknown