What do you want to save?
Add Code snippet
New code examples
-
C# 2022-02-13 22:05:03
c# type conversion
// --------------------- TYPE CONVERSION --------------------- // // Implicit conversion float varFloat = 12.7f; double varDouble = varFloat; // converts float => double // Explicit conversion (casting) double varDouble = 2.3; int varInt = (int) ... Add solution -
Javascript 2022-02-13 08:40:02
your company assigns each customer a membership id
//your company assigns each customer a membership id function createCheckDigit(membershipId) { let arr = membershipId.split(''); while (arr.length > 1) { arr = arr.reduce((count, item) => { return count + parseInt(item); },0); ... Add solution -
Html 2022-02-12 07:40:11
clock code html
<!DOCTYPE html> <html> <body> <canvas id="canvas" width="400" height="400" style="background-color:#333"> </canvas> <script> var canvas = document.getElementById("canvas&qu... Add solution -
Java 2022-02-11 11:50:02
spring custom auth frugalis
package com.frugalis; import java.util.ArrayList; import java.util.List; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; impor... Add solution -
Other 2022-02-06 09:10:23
numberlong to int
NumberLong('yourValue').valueOf().toString(); Add solution