octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62430] 'format' function accept state 'defaul


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #62430] 'format' function accept state 'default'
Date: Mon, 9 May 2022 12:35:29 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62430>

                 Summary: 'format' function accept state 'default' 
                 Project: GNU Octave
            Submitted by: nrjank
            Submitted on: Mon 09 May 2022 12:35:28 PM EDT
                Category: Octave Function
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Jankowski
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

In v 2021a, Matlab's format command accepts a format specifyer 'default' which
is the equivalent to calling 'format' without any input specifiers to restore
the default state.  


R2021a: format with no arguments is not recommended
Not recommended starting in R2021a

The format command, by itself, resets the output display format to the
default, which is the short, fixed-decimal format for floating-point notation
and loose line spacing for all output lines.

format
For clearer code, explicitly specify the default style (since R2021a).

format default


for compatability, we should probably support this option as well. 





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62430>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]