selectDouble {goCluster} | R Documentation

## A menu for choosing a floating point number

### Description

This function generates a menu that will allow the user to choose a floating point number.

### Usage

    selectDouble(message, min, max)

### Arguments

`message` | The message that will be shown together with the menu.
`min` | The minimal number that is allowed.
`max` | The maximal number that is allowed.

### Details

`selectDouble` displays the given message to the user and returns the number the user chooses as `double`. The number needs to be greater than or equal to `min` as well as less than or equal to `max`.

### Value

The number chosen by the user as `double`.

### Author(s)

Gunnar Wrobel, work@gunnarwrobel.de, http://www.gunnarwrobel.de.

### See Also

`selectCore`, `selectNumber`, `selectOption`.

### Examples

    if(interactive()){
    ## This example can only be run in an interactive mode

    selectDouble("Please choose a real number between 0 and 10",0,10)
    }

[Package goCluster version 1.6.0 Index]