Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PowerToys > Run] Calculator plugin: Add randi(x) to function table #5250

Open
wants to merge 2 commits into
base: docs
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions hub/powertoys/run.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: PowerToys Run utility for Windows
description: Run is a quick launcher for power users that contains additional features without sacrificing performance.
ms.date: 11/19/2024
ms.date: 12/25/2024
ms.topic: concept-article
ms.localizationpriority: medium
no-loc: [PowerToys, Windows, File Explorer, PowerToys Run, Window Walker]
Expand Down Expand Up @@ -197,7 +197,8 @@ The Calculator plugin supports the following operations:
| Power of x | pow( x, y ) | Calculate a number (x) raised to the power of some other number (y). |
| Factorial | x! | |
| 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. |
| Random number | rand() | Returns a fractional number between 0 and 1. |
| Random fractional number | rand() | Returns a fractional number between 0 and 1. |
| Random integer number | randi( x ) | Returns a integer number between 0 and `x`. |
htcfreek marked this conversation as resolved.
Show resolved Hide resolved
| Pi | pi | Returns the number pi. |
| Sine | sin( x ) | |
| Cosine | cos( x ) | |
Expand Down