Skip to content

Commit eef3df0

Browse files
Merge pull request #5250 from htcfreek/PtRun_calculator_randi
[PowerToys > Run] Calculator plugin: Add randi(x) to function table
2 parents 6174487 + dbb6525 commit eef3df0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hub/powertoys/run.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: PowerToys Run utility for Windows
33
description: Run is a quick launcher for power users that contains additional features without sacrificing performance.
4-
ms.date: 11/19/2024
4+
ms.date: 12/25/2024
55
ms.topic: concept-article
66
ms.localizationpriority: medium
77
no-loc: [PowerToys, Windows, File Explorer, PowerToys Run, Window Walker]
@@ -197,7 +197,8 @@ The Calculator plugin supports the following operations:
197197
| Power of x | pow( x, y ) | Calculate a number (x) raised to the power of some other number (y). |
198198
| Factorial | x! | |
199199
| Sign | sign( -x ) | A number that indicates the sign of value:<br />• `-1` if number is less than zero.<br />• `0` if number is zero.<br />• `1` if number is greater than zero. |
200-
| Random number | rand() | Returns a fractional number between 0 and 1. |
200+
| Random fractional number | rand() | Returns a fractional number between 0 and 1. |
201+
| Random integer number | randi( x ) | Returns an integer number between 0 and `x`. |
201202
| Pi | pi | Returns the number pi. |
202203
| Sine | sin( x ) | |
203204
| Cosine | cos( x ) | |

0 commit comments

Comments
 (0)