Get Numbers from Input

shortcuts-action-icon-get-numbers-from-input.webp

Returns numbers from the previous action’s output.

Score
Type
InterActivity
Expertise
4/5
Type
InterActivity
Expertise

Action Information

Parameters

Get numbers from [Input]

Input

Currency Amounts, File Sizes, Workout samples, Time intervals, Measurements, Booleans, Dates, Text, Health samples, Blood pressures, Numbers

Result

Numbers

Details

Type
Interactivity
Expertise Needed
Matthew's Score
4/5
Category
Date Added
26/03/2019
Identifier
is.workflow.actions.detect.number

Comments

“Extracts” the numbers from any data that includes unit types or measurements.

Use this to grab only the numerical values from any input, ignoring any other text.

If multiple numbers are found, passed out as a List of values.

Similar to Match Text looking for number values, but doesn’t require dealing with regular expressions.

Works Well With

shortcuts-action-icon-count.webp
Count
Counts the number of items, characters, words, sentences, or lines passed as input. Note (from Apple, for real) This is just like the Count in Sesame Street, but instead of a vampire, it’s a Shortcuts action.
shortcuts-action-icon-get-clipboard.webp
Get Clipboard
Passes the contents of the clipboard to the next action.
shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
shortcuts-action-icon-wait.webp
Wait
Waits for the specified number of seconds before continuing with the next action.
shortcuts-action-icon-repeat.webp
Repeat
Repeats the contained actions, running them the specified number of times.
shortcuts-action-icon-stop-this-shortcut.webp
Stop shortcut
Stops execution of the current shortcut and dismisses the shortcut on screen. No more actions will be run after this action.
Find Health Samples
Searches for the health samples in your library that match the given criteria. Allows for sorting, changing the order, grouping by time periods, limiting the number passed as a result, and more. Includes most information in the Health app.
Get Details of Health Sample
Extracts information about a health sample including the type, value, unit, start date, end date, duration, source, and name.
action-icon-calculate-statistics.webp
Calculate Statistics
Calculates statistics on the numbers that are provided as input.
shortcuts-action-icon-round-number.webp
Round Number
Rounds the number(s) passed into the action.

Shortcuts Using This

No results found.