Sum

Adds together a list of numbers. If an item in the string is not a number it is excluded from the list.

Input: TextResult: High-precision number

Text input

Tool options

Examples

A small request latency sample

Input

120
80
100

Expected answer

300
Delimiter
Line feed
A whole-week ticket count

Input

3
5
8
4
10
2
3

Expected answer

35
Delimiter
Line feed
Signed temperature readings

Input

-10
0
10

Expected answer

0
Delimiter
Line feed
Equal-size packets

Input

64
64
64
64

Expected answer

256
Delimiter
Line feed
A zero-count observation

Input

0
1
2

Expected answer

3
Delimiter
Line feed
A fractional measurement

Input

0.5
1.5
2.5

Expected answer

4.5
Delimiter
Line feed

e.g. 0x0a 8 .5 becomes 18.5

Format reference: Sum background and specification

Parameters

ParameterDefault valueInput and choices
DelimiterLine feedLine feed, Space, Comma, Semi-colon, Colon, CRLF

Related tools

Browse arithmetic / logic tools