var searchIndex = {}; searchIndex["number_prefix"] = {"doc":"This is a library for formatting numbers with numeric prefixes, such as\nturning “3000 metres” into “3 kilometres”, or “8705 bytes” into “8.5 KiB”.","items":[[4,"Prefix","number_prefix","A numeric prefix, either binary or decimal.",null,null],[13,"Kilo","","",0,null],[13,"Mega","","",0,null],[13,"Giga","","",0,null],[13,"Tera","","",0,null],[13,"Peta","","",0,null],[13,"Exa","","",0,null],[13,"Zetta","","",0,null],[13,"Yotta","","",0,null],[13,"Kibi","","",0,null],[13,"Mibi","","",0,null],[13,"Gibi","","",0,null],[13,"Tebi","","",0,null],[13,"Pebi","","",0,null],[13,"Exbi","","",0,null],[13,"Zebi","","",0,null],[13,"Yobi","","",0,null],[4,"Result","","The result of trying to apply a prefix to a floating-point value.",null,null],[13,"Standalone","","A **standalone** value is returned when the number is too small to\nhave any prefixes applied to it. This is commonly a special case, so\nis handled separately.",1,null],[13,"Prefixed","","A **prefixed** value *is* large enough for prefixes. This holds the\nprefix, as well as the resulting value.",1,null],[5,"decimal_prefix","","Formats the given floating-point number using **decimal** prefixes,\nreturning a result.",null,{"inputs":[{"name":"f"}],"output":{"name":"result"}}],[5,"binary_prefix","","Formats the given floating-point number using **binary** prefixes,\nreturning a result.",null,{"inputs":[{"name":"f"}],"output":{"name":"result"}}],[8,"PrefixNames","","Formatting methods for prefix, for when you want to output things other\nthan just the short-hand symbols.",null,null],[10,"upper","","Returns the name in uppercase, such as “KILO”.",2,null],[10,"caps","","Returns the name with the first letter capitalised, such as “Mega”.",2,null],[10,"lower","","Returns the name in lowercase, such as “giga”.",2,null],[10,"symbol","","Returns the short-hand symbol, such as “T” (for “tera”).",2,null],[8,"Amounts","","Constructors for floating-point values for both the possible multipliers.",null,null],[10,"get_1000","","",3,{"inputs":[],"output":{"name":"self"}}],[10,"get_1024","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"eq","","",0,null],[11,"fmt","","",0,null],[11,"upper","","",0,null],[11,"caps","","",0,null],[11,"lower","","",0,null],[11,"symbol","","",0,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null]],"paths":[[4,"Prefix"],[4,"Result"],[8,"PrefixNames"],[8,"Amounts"]]}; initSearch(searchIndex);