Post History
Sclipting, (UTF-16) 454 406 bytes Yes. 塊匱❸곴김分倘標⓶❹演긆륩닆롩닶밎併鈉不終⓷곴김剩❶갾밈分倘⓷標⓷❺演긇끨닷녳눖멤併鈉⓶不終갾밈剩❶뉀分倘⓷標⓷❺演긆둵닦끲뉖밄併鈉⓶不終뉀剩⓶글會⓶倘❷長是긆굮뉂밀⓶終긇끨늗긠뉦뭵댢걦늖눠댶땸긇꽥덦녮긆녩뉶될닦땮뉐❷굀瀰是❶銅긂건덶녮融壹坼❸겠分掘덇밉⓸겠剩倘껐⓶⓹逆⓸終終긆뭮뉒건덶묠덆둲뉖넠뉦뭵댢걦늗뉥긇꽩...
Answer
#2: Post edited
# [Sclipting], (UTF-16) [454 bytes][Byte count]- Yes.
- ```
塊標⓷❶곴김瀰是❶곴김分❹演⓶긆륩닆롩닶먠⓸곴김剩終❶갾밈瀰是❶갾밈分❹演긇끨닷녳눖멤글⓸갾밈剩終긇뙥댦묠닶멥긇끷닲건늇깥뉒걦닷녲긆뉩덦넠댶땸긇꽥덦녮긆녩뉶둴긆멩닦넠덆녮긆녬뉗뉥닢건덶녬덦넠덆둩댧끥뉖먠뉦뭵댧끥뉖먠뉦땦덆녥닢걳늗둴뉖녮긇꽥덦녮덆녥닢걥늖덨덆녥닢걮늖멥덆녥닠鈮坼⓶❶뉀瀰是❷❷뉀分掘긆둵닦끲뉖뀠⓸⓸뉀剩終눖멤글⓷⓷❶굀瀰是긂갠덇덥닢건늆땲긆뉯댢걦늖눠댶땸긇꽥덦녮긆녩뉶될닦땮뉐鈮坼❷겠分掘덇딭⓸⓸겠剩終掘併뇦굮뉂걼꺆굮뉂걼껒땺뉗깯김虛移終演- ```
- ## Explanation
```- 塊 Function
標⓷❶곴김瀰是 If greater than 1,000,000❶곴김分 Divide by 1,000,000❹演 Apply function to the quotient (millions place)⓶긆륩닆롩닶먠 " million "⓸곴김剩 Get remainder終 End if❶갾밈瀰是 If greater than 1,000❶갾밈分 Divide by 1,000❹演 Apply function to the quotient (thousands place)긇끨닷녳눖멤글 " thousand "⓸갾밈剩 Get remainder終 End if긇뙥댦묠닶멥긇끷닲건늇깥뉒걦닷녲긆뉩덦넠댶땸긇꽥덦녮긆녩뉶둴긆멩닦넠덆녮긆녬뉗뉥닢건덶녬덦넠덆둩댧끥뉖먠뉦뭵댧끥뉖먠뉦땦덆녥닢걳늗둴뉖녮긇꽥덦녮덆녥닢걥늖덨덆녥닢걮늖멥덆녥닠鈮坼List "zero", "one", "two", "three"... "eighteen", "nineteen"⓶❶뉀瀰是 If greater than 100❷❷뉀分 Divide by 100掘 Index into the list긆둵닦끲뉖뀠 " hundred "⓸⓸뉀剩終 End if눖멤글 "and "⓷⓷❶굀瀰是 If greater than 20긂갠덇덥닢건늆땲긆뉯댢걦늖눠댶땸긇꽥덦녮긆녩뉶될닦땮뉐鈮坼List "", "", "twen", "thir", "for", "fif", "six", "seven", "eigh", "nine"❷겠分 Divide by 10掘 Index into the list덇딭 "ty"⓸⓸겠剩 Get remainder- 終 End if
掘 Index into first list again to get units place併 Concatenate into a string뇦굮뉂걼꺆굮뉂걼껒땺뉗깯김虛移 Remove "and" and/or "zero" if they're unnecessary- 終 End function
- 演 Call function
- ```
- [Sclipting]: https://esolangs.org/wiki/Sclipting
[Byte count]: https://ethproductions.github.io/bytes/?e=utf-16&t=%E5%A1%8A%E6%A8%99%E2%93%B7%E2%9D%B6%EA%B3%B4%EA%B9%80%E7%80%B0%E6%98%AF%E2%9D%B6%EA%B3%B4%EA%B9%80%E5%88%86%E2%9D%B9%E6%BC%94%E2%93%B6%EA%B8%86%EB%A5%A9%EB%8B%86%EB%A1%A9%EB%8B%B6%EB%A8%A0%E2%93%B8%EA%B3%B4%EA%B9%80%E5%89%A9%E7%B5%82%E2%9D%B6%EA%B0%BE%EB%B0%88%E7%80%B0%E6%98%AF%E2%9D%B6%EA%B0%BE%EB%B0%88%E5%88%86%E2%9D%B9%E6%BC%94%EA%B8%87%EB%81%A8%EB%8B%B7%EB%85%B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6%EA%B5%80%E7%80%B0%E6%98%AF%EA%B8%82%EA%B0%A0%EB%8D%87%EB%8D%A5%EB%8B%A2%EA%B1%B4%EB%8A%86%EB%95%B2%EA%B8%86%EB%89%AF%EB%8C%A2%EA%B1%A6%EB%8A%96%EB%88%A0%EB%8C%B6%EB%95%B8%EA%B8%87%EA%BD%A5%EB%8D%A6%EB%85%AE%EA%B8%86%EB%85%A9%EB%89%B6%EB%90%A0%EB%8B%A6%EB%95%AE%EB%89%90%E9%88%AE%E5%9D%BC%E2%9D%B7%EA%B2%A0%E5%88%86%E6%8E%98%EB%8D%87%EB%94%AD%E2%93%B8%E2%93%B8%EA%B2%A0%E5%89%A9%E7%B5%82%E6%8E%98%E4%BD%B5%EB%87%A6%EA%B5%AE%EB%89%82%EA%B1%BC%EA%BA%86%EA%B5%AE%EB%89%82%EA%B1%BC%EA%BB%92%EB%95%BA%EB%89%97%EA%B9%AF%EA%B9%80%E8%99%9B%E7%A7%BB%E7%B5%82%E6%BC%94
- # [Sclipting], (UTF-16) ~~454~~ [406 bytes][Byte count]
- Yes.
- ```
- 塊匱❸곴김分倘標⓶❹演긆륩닆롩닶밎併鈉不終⓷곴김剩❶갾밈分倘⓷標⓷❺演긇끨닷녳눖멤併鈉⓶不終갾밈剩❶뉀分倘⓷標⓷❺演긆둵닦끲뉖밄併鈉⓶不終뉀剩⓶글會⓶倘❷長是긆굮뉂밀⓶終긇끨늗긠뉦뭵댢걦늖눠댶땸긇꽥덦녮긆녩뉶될닦땮뉐❷굀瀰是❶銅긂건덶녮融壹坼❸겠分掘덇밉⓸겠剩倘껐⓶⓹逆⓸終終긆뭮뉒건덶묠덆둲뉖넠뉦뭵댢걦늗뉥긇꽩뎂걳뉗뉥닢걥늖덨덂걮늖멥긇끥닢걥닆녶뉖먠덇덥닇뉥融壹坼❷掘⓶곀大是덆녥닠終不梴沒뎦녲닰終終終演
- ```
- ## Explanation
- ```text
- 塊 Function
- 匱 Begin with an empty list
- ❸곴김分倘 Divide number by 1,000,000; if quotient is non-zero:
- 標
- ⓶❹演 Apply function to the quotient (millions place)
- 긆륩닆롩닶밎 " million"
- 併 Concat
- 鈉 Add "... million" to the list
- 不終 End if
- ⓷곴김剩 Take modulo 1,000,000
- ```
- Repeat the above for the thousands and hundreds
- ```text
- ❶갾밈分倘
- ⓷標⓷❺演긇끨닷녳눖멤併鈉⓶
- 不終
- 갾밈剩
- ❶뉀分倘
- ⓷標⓷❺演긆둵닦끲뉖밄併鈉⓶
- 不終
- 뉀剩
- ```
- Now for the tens/ones places
- ```text
- ⓶글會⓶ Join the list with spaces (S)
- 倘 If there's stuff remaining (tens/units)
- ❷長是 If the length of (S) is non-zero
- 긆굮뉂밀 Push an " and "
- ⓶終 End if
- 긇끨늗긠뉦뭵댢걦늖눠댶땸긇꽥덦녮긆녩뉶될닦땮뉐
- " thir four fif six seven eigh nine" (A)
- This is shared between the -teens and -tys
- ❷굀瀰是 If greater than or equal to 20
- ❶ Copy the shared string
- 銅 drop the 9th character (four -> for)
- 긂건덶녮 " twen"
- 融 Concatenate
- 壹坼 Split into a list
- ❸겠分 Divide by 10
- 掘 Index into the list
- 덇밉 Push "ty"
- ⓸겠剩 Take modulo 10
- 倘 If non-zero
- 껐⓶⓹ Push a dash "-"
- 逆⓸終 End if
- 終
- 긆뭮뉒건덶묠덆둲뉖넠뉦뭵댢걦늗뉥긇꽩뎂걳뉗뉥닢걥늖덨덂걮늖멥긇끥닢걥닆녶뉖먠덇덥닇뉥
- " one two three four five six seven eight nine ten eleven twelve"
- 融 Concatenate with the shared string (A)
- 壹坼 Split into a list
- ❷掘 Index into the list
- ⓶곀大是 If greater than 12
- 덆녥닠 Push "teen"
- 終 End if
- 不 Otherwise (if zero)
- 梴沒 If the length of (S) is zero
- 뎦녲닰 Push "zero"
- 終 End if
- 終 End if
- 終 End function
- 演 Call function
- ```
- [Sclipting]: https://esolangs.org/wiki/Sclipting
- [Byte count]: https://ethproductions.github.io/bytes/?e=utf-16&t=%E5%A1%8A%E5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EB%B0%89%E2%93%B8%EA%B2%A0%E5%89%A9%E5%80%98%EA%BB%90%E2%93%B6%E2%93%B9%E9%80%86%E2%93%B8%E7%B5%82%E7%B5%82%EA%B8%86%EB%AD%AE%EB%89%92%EA%B1%B4%EB%8D%B6%EB%AC%A0%EB%8D%86%EB%91%B2%EB%89%96%EB%84%A0%EB%89%A6%EB%AD%B5%EB%8C%A2%EA%B1%A6%EB%8A%97%EB%89%A5%EA%B8%87%EA%BD%A9%EB%8E%82%EA%B1%B3%EB%89%97%EB%89%A5%EB%8B%A2%EA%B1%A5%EB%8A%96%EB%8D%A8%EB%8D%82%EA%B1%AE%EB%8A%96%EB%A9%A5%EA%B8%87%EB%81%A5%EB%8B%A2%EA%B1%A5%EB%8B%86%EB%85%B6%EB%89%96%EB%A8%A0%EB%8D%87%EB%8D%A5%EB%8B%87%EB%89%A5%E8%9E%8D%E5%A3%B9%E5%9D%BC%E2%9D%B7%E6%8E%98%E2%93%B6%EA%B3%80%E5%A4%A7%E6%98%AF%EB%8D%86%EB%85%A5%EB%8B%A0%E7%B5%82%E4%B8%8D%E6%A2%B4%E6%B2%92%EB%8E%A6%EB%85%B2%EB%8B%B0%E7%B5%82%E7%B5%82%E7%B5%82%E6%BC%94
#1: Initial revision
# [Sclipting], (UTF-16) [454 bytes][Byte count] Yes. ``` 塊標⓷❶곴김瀰是❶곴김分❹演⓶긆륩닆롩닶먠⓸곴김剩終❶갾밈瀰是❶갾밈分❹演긇끨닷녳눖멤글⓸갾밈剩終긇뙥댦묠닶멥긇끷닲건늇깥뉒걦닷녲긆뉩덦넠댶땸긇꽥덦녮긆녩뉶둴긆멩닦넠덆녮긆녬뉗뉥닢건덶녬덦넠덆둩댧끥뉖먠뉦뭵댧끥뉖먠뉦땦덆녥닢걳늗둴뉖녮긇꽥덦녮덆녥닢걥늖덨덆녥닢걮늖멥덆녥닠鈮坼⓶❶뉀瀰是❷❷뉀分掘긆둵닦끲뉖뀠⓸⓸뉀剩終눖멤글⓷⓷❶굀瀰是긂갠덇덥닢건늆땲긆뉯댢걦늖눠댶땸긇꽥덦녮긆녩뉶될닦땮뉐鈮坼❷겠分掘덇딭⓸⓸겠剩終掘併뇦굮뉂걼꺆굮뉂걼껒땺뉗깯김虛移終演 ``` ## Explanation ``` 塊 Function 標⓷❶곴김瀰是 If greater than 1,000,000 ❶곴김分 Divide by 1,000,000 ❹演 Apply function to the quotient (millions place) ⓶긆륩닆롩닶먠 " million " ⓸곴김剩 Get remainder 終 End if ❶갾밈瀰是 If greater than 1,000 ❶갾밈分 Divide by 1,000 ❹演 Apply function to the quotient (thousands place) 긇끨닷녳눖멤글 " thousand " ⓸갾밈剩 Get remainder 終 End if 긇뙥댦묠닶멥긇끷닲건늇깥뉒걦닷녲긆뉩덦넠댶땸긇꽥덦녮긆녩뉶둴긆멩닦넠덆녮긆녬뉗뉥닢건덶녬덦넠덆둩댧끥뉖먠뉦뭵댧끥뉖먠뉦땦덆녥닢걳늗둴뉖녮긇꽥덦녮덆녥닢걥늖덨덆녥닢걮늖멥덆녥닠鈮坼 List "zero", "one", "two", "three"... "eighteen", "nineteen" ⓶❶뉀瀰是 If greater than 100 ❷❷뉀分 Divide by 100 掘 Index into the list 긆둵닦끲뉖뀠 " hundred " ⓸⓸뉀剩 終 End if 눖멤글 "and " ⓷⓷❶굀瀰是 If greater than 20 긂갠덇덥닢건늆땲긆뉯댢걦늖눠댶땸긇꽥덦녮긆녩뉶될닦땮뉐鈮坼 List "", "", "twen", "thir", "for", "fif", "six", "seven", "eigh", "nine" ❷겠分 Divide by 10 掘 Index into the list 덇딭 "ty" ⓸⓸겠剩 Get remainder 終 End if 掘 Index into first list again to get units place 併 Concatenate into a string 뇦굮뉂걼꺆굮뉂걼껒땺뉗깯김虛移 Remove "and" and/or "zero" if they're unnecessary 終 End function 演 Call function ``` [Sclipting]: https://esolangs.org/wiki/Sclipting [Byte count]: https://ethproductions.github.io/bytes/?e=utf-16&t=%E5%A1%8A%E6%A8%99%E2%93%B7%E2%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