AppleScript: How to display a number in a dialog

As a quick note, to display a number in an AppleScript dialog, just treat it like a string and it will work fine. Here’s an example using a literal number:

display dialog 4.79

And here’s an example using a numeric variable:

set myNum to 4.88
display dialog myNum