Customize calculator settings such as decimal formatting, chart appearance, and search options with qCal Settings. Save preferences easily.

qCal Settings

Purpose

The qCal Settings function allows you to customize the calculator settings according to your preferences.

Use Cases

You can use this function to set the decimal format, currency display, chart colors, and other options to tailor the calculator to your needs.

How to Use

  1. Enter the desired values for the settings parameters.
  2. Click on the "Save Preferences" button to apply the changes.

Input Values

  1. Ignore Decimal Format: Choose whether to ignore the decimal format.
  2. Decimal: Set the number of decimal places to display.
  3. Quantity Decimal: Set the number of decimal places for quantity values.
  4. Currency Decimal: Set the number of decimal places for currency values.
  5. Thousands Separator: Choose whether to display a thousands separator.
  6. Exponent Threshold Min: Set the minimum threshold for exponent display.
  7. Exponent Threshold Max: Set the maximum threshold for exponent display.
  8. Default Currency: Select the default currency.
  9. Memory: Set the memory storage capacity.
  10. Fuzzy Search: Enable or disable fuzzy search.
  11. Semantic Search: Enable or disable semantic search.
  12. Chart Color Scheme: Choose a color scheme for charts.
  13. Chart Width: Set the width of the chart.
  14. Chart Height: Set the height of the chart.
  15. Chart Pie Radius: Set the radius of the pie chart.
  16. Execution Timeout: Set the execution timeout duration.

Default unit is inch for all input values.

Output Values

  1. Preferences Saved: Confirmation message that the preferences have been saved.

Any other Instruction

Make sure to review your settings before saving to ensure they meet your requirements.

Code Analysis

The function pref() allows you to save your preferred calculator settings. It takes various input parameters such as decimal format, currency display, chart colors, and more, and saves them as user settings. The function then applies these settings to customize the calculator according to your preferences.

Technical Parameters

request, ignore_decimal_format, decimal, qty_decimal, currency_decimal, thousands_separator, exponent_threshold_min, exponent_threshold_max, defa_currency, memory, fuzzy_search, semantic_search, chart_color_scheme, chart_width, chart_height, chart_pie_radius, execution_timeout

Return Values

Preferences Saved

Example Expressions

You can use the following expressions to directly evaluate in a non-interactive manner using eva():

pref(request, True, 2, 2, 2, True, 0.5, 2.0, USD, 100, True, False, 'blue', 800, 600, 0.5, 30)
pref(request, False, 3, 1, 2, False, 0.3, 1.5, EUR, 50, False, True, 'green', 600, 400, 0.3, 20)

Click on Help icon to open the help page on a separate window.






Calculator: pref, Created by: super, V#0: , Variant owner: , Link