Thanks to visit codestin.com
Credit goes to github.com

Skip to content

System.Decimal F# snippets #7605

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

Merged
merged 8 commits into from
Feb 15, 2022

Conversation

albert-du
Copy link
Contributor

Adds F# snippets for Decimal

@albert-du albert-du requested a review from a team as a code owner January 19, 2022 00:56
@ghost ghost added the area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. label Jan 19, 2022
@opbld31
Copy link

opbld31 commented Jan 19, 2022

Docs Build status updates of commit bd96a17:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error: PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@opbld32
Copy link

opbld32 commented Jan 19, 2022

Docs Build status updates of commit bccaffd:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/source.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/Compare1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromchar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromdouble.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromsingle.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromsbyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfrombyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctochar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctos_byte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctosgl_dbl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/Divide1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round12.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/ceiling1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/DecimalDivision_46630_1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/comp_equal.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/cto_eq_obj.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriarr.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriiibby.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctori.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorui.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorul.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctordo.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctors.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fields.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fs.fsproj ✅Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@opbld34
Copy link

opbld34 commented Jan 19, 2022

Docs Build status updates of commit 3cd5a9d:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/source.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/Compare1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromchar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromdouble.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromsingle.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromsbyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfrombyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctochar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctos_byte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctosgl_dbl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/Divide1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round12.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/ceiling1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/DecimalDivision_46630_1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/comp_equal.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/cto_eq_obj.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriarr.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriiibby.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctori.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorui.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorul.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctordo.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctors.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fields.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fs.fsproj ✅Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@opbld33
Copy link

opbld33 commented Jan 19, 2022

Docs Build status updates of commit 2fe31d2:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/source.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/Compare1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromchar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromdouble.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromsingle.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromsbyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfrombyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctochar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctos_byte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctosgl_dbl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/Divide1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round12.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/ceiling1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/DecimalDivision_46630_1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/comp_equal.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/cto_eq_obj.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriarr.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriiibby.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctori.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorui.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorul.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctordo.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctors.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fields.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fs.fsproj ✅Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@albert-du
Copy link
Contributor Author

@dsyme Could you review?

@BillWagner BillWagner requested a review from dsyme January 19, 2022 13:22
@BillWagner
Copy link
Member

@albert-du @dsyme

I read through the code, and this looks good to me. Once you agree, I'll :shipit:

@opbld31
Copy link

opbld31 commented Jan 22, 2022

Docs Build status updates of commit c1c014c:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR/Decimal Example/FS/source.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/Compare1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Compare/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromchar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromdouble.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/cfromsingle.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.Others/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/cfromsbyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.SInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfrombyte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/cfromuint64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvFrom.UInts/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctochar.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctos_byte.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctosgl_dbl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int16.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int32.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/ctou_int64.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.ConvTo/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/Divide1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Divide/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/Round12.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/System.Decimal.Round/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/ceiling1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ceiling/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/DecimalDivision_46630_1.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Class/fs/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/comp_equal.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/cto_eq_obj.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Compare_Equals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriarr.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/ctoriiibby.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Arrays/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctori.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorl.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorui.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/ctorul.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Ints/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctordo.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctors.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/fs.fsproj ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fields.fs ✅Succeeded View
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Fields/FS/fs.fsproj ✅Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@ericstj ericstj added area-System.Numerics and removed area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. labels Jan 27, 2022
@ghost
Copy link

ghost commented Jan 27, 2022

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

Issue Details

Adds F# snippets for Decimal

Author: albert-du
Assignees: -
Labels:

area-System.Numerics

Milestone: -

@opbld30
Copy link

opbld30 commented Jan 29, 2022

Docs Build status updates of commit 301e336:

❌ Validation status: errors

Please follow instructions here which may help to resolve issue.

File Status Preview URL Details
❌Error Details

  • [Error: PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@opbld30
Copy link

opbld30 commented Jan 29, 2022

Docs Build status updates of commit 7a3bf6a:

✅ Validation status: passed

File Status Preview URL Details
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctordo.fs ✅Succeeded
samples/snippets/fsharp/VS_Snippets_CLR_System/system.Decimal.Ctor.Reals/FS/ctors.fs ✅Succeeded
snippets/fsharp/System/Decimal/.ctor/ctor2a.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctordo.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctori.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctoriarr.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctoriiibby.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctorl.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctors.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctorui.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctorul.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Ceiling/ceiling1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Ceiling/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Compare/Compare1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Compare/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/CompareTo/comp_equal.fs ✅Succeeded View
snippets/fsharp/System/Decimal/CompareTo/cto_eq_obj.fs ✅Succeeded View
snippets/fsharp/System/Decimal/CompareTo/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Divide/Divide1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Divide/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Equals/equalsoverl.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Equals/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/FromOACurrency/fromoacurrency.fs ✅Succeeded View
snippets/fsharp/System/Decimal/FromOACurrency/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/FromOACurrency/tooacurrency.fs ✅Succeeded View
snippets/fsharp/System/Decimal/GetBits/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/GetBits/getbits.fs ✅Succeeded View
snippets/fsharp/System/Decimal/GetBits/gettypecode.fs ✅Succeeded View
snippets/fsharp/System/Decimal/MinusOne/fields.fs ✅Succeeded View
snippets/fsharp/System/Decimal/MinusOne/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Multiply/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Multiply/mul_div_rem.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Negate/floor_neg_trunc.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Negate/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Overview/DecimalDivision_46630_1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Overview/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Overview/source.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Parse/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Parse/parse.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Remainder/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Remainder/remainder.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/Round1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/Round12.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Round/midpoint1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/mpr.fs ✅Succeeded View
snippets/fsharp/System/Decimal/ToByte/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/ToByte/tobyte_1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/ToDouble/fs.fsproj ✅Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@opbld31
Copy link

opbld31 commented Jan 29, 2022

Docs Build status updates of commit ec69b04:

✅ Validation status: passed

File Status Preview URL Details
snippets/fsharp/System/Decimal/.ctor/ctor2a.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctordo.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctori.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctoriarr.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctoriiibby.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctorl.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctors.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctorui.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/ctorul.fs ✅Succeeded View
snippets/fsharp/System/Decimal/.ctor/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Ceiling/ceiling1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Ceiling/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Compare/Compare1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Compare/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/CompareTo/comp_equal.fs ✅Succeeded View
snippets/fsharp/System/Decimal/CompareTo/cto_eq_obj.fs ✅Succeeded View
snippets/fsharp/System/Decimal/CompareTo/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Divide/Divide1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Divide/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Equals/equalsoverl.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Equals/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/FromOACurrency/fromoacurrency.fs ✅Succeeded View
snippets/fsharp/System/Decimal/FromOACurrency/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/FromOACurrency/tooacurrency.fs ✅Succeeded View
snippets/fsharp/System/Decimal/GetBits/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/GetBits/getbits.fs ✅Succeeded View
snippets/fsharp/System/Decimal/GetBits/gettypecode.fs ✅Succeeded View
snippets/fsharp/System/Decimal/MinusOne/fields.fs ✅Succeeded View
snippets/fsharp/System/Decimal/MinusOne/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Multiply/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Multiply/mul_div_rem.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Negate/floor_neg_trunc.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Negate/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Overview/DecimalDivision_46630_1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Overview/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Overview/source.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Parse/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Parse/parse.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Remainder/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Remainder/remainder.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/Round1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/Round12.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/Round/midpoint1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/Round/mpr.fs ✅Succeeded View
snippets/fsharp/System/Decimal/ToByte/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/ToByte/tobyte_1.fs ✅Succeeded View
snippets/fsharp/System/Decimal/ToDouble/fs.fsproj ✅Succeeded
snippets/fsharp/System/Decimal/ToDouble/tosgl_dbl.fs ✅Succeeded View
snippets/fsharp/System/Decimal/ToInt16/fs.fsproj ✅Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@albert-du
Copy link
Contributor Author

@BillWagner this is ready

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @albert-du

I apologize for missing this earlier. I'll :shipit: now.

@BillWagner BillWagner merged commit a4c85fa into dotnet:main Feb 15, 2022
@albert-du albert-du deleted the system-decimal-fsharp-snippets branch April 3, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants