🔢 Number Extractor
提取型別
共找到: 0 個
求和: -
平均: -
📋 提取結果
請輸入文本...
📚 深度解析:提取數字
💡 常見使用場景
- 從報表/文本抽金額與數值:得到可求和的數字列表,做快速統計。
- 資料清洗:把夾雜文字的數字單獨抽出,準備入庫。
- 校驗合計:抽全部數值後核對是否等於預期總額。
從明細抽金額
文本「蘋果 9.9 元,香蕉 5.5 元,共 15.4 元」,提取數字得 9.9、5.5、15.4,可一鍵求和驗證 15.4 是否正確。
❓ 常見問題(FAQ)
- 千分位和小數點怎麼處理?
- 預設識別「1,234.56」為單值;若把逗號當分隔符需切換模式,否則「1,234」會被拆成 1 和 234。
- 負數和小數保留嗎?
- 保留。負號與小數點均識別,輸出為數值便於後續計算。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Numeric category | decimal digits carry the Nd category including local digit shapes | Unicode UAX #44, character database |
| Sign and separator | signs and separators are not digits and need separate matching | ISO 80000-2, mathematical signs |
| Grouping separator | thousands separators vary by locale and naive concatenation changes the value | ISO 80000-1, quantities and units |
⚠️ 使用說明與注意事項
- 本工具純前端執行,資料不會上傳到伺服器
- 建議在主流瀏覽器(Chrome/Safari/Firefox/Edge)中使用
- 計算結果僅供參考,請以實際應用場景為準